waleee-cl has quit [Quit: Connection closed for inactivity]
codygman has quit [Ping timeout: 265 seconds]
codygman has joined #nixos
<ogkloo>
so I think this pi might be dead, but not in the way I thought... it doesn't seem to connect to my network over any interface I hand it, including ethernet.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJVaa
<ogkloo>
ip link just shows lo and eth0, lsusb shows root hub, usb to ethernet, ethernet, and then usb mouse and keyboard.
<clever>
ogkloo: does eth0 have ip ip? is it up or down? does `tcpdump -i eth0 -n` show packets going in both directions? does `ifconfig` show non-zero counters for both directions?
proofofkeags has joined #nixos
bbennett371 has joined #nixos
<ogkloo>
brb running a giant ethernet cable across my house to try this
<ogkloo>
... i'm dumb. Apparently ethernet connected devices don't show up in my router's config.
<ogkloo>
Explains a lot. Time to get aarch64 working. tyty clever
<clever>
christianbundy: lines 142-180 then create a dummy pkgs tree, with libc, gcc, binutils, coreutils, and gnugrep mocked out, to use the bootstrap-tools
<clever>
christianbundy: then when the code in lines 183-214 builds any attribute (other then binutils/libc/perl), it will use those mocked versions, while building the real gcc/coreutils and so on
<clever>
christianbundy: each phase mocks out fewer ones, until everything has been rebuilt from source, as defined in nixpkgs
<clever>
christianbundy: and nix will reuse anything that hasnt been changed
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJVVk
<christianbundy>
right, I'm less asking about the exact specifics on the current bootstrap and more asking about whether bootstrapping from a smaller binary seed is something that nix developers are working on
<christianbundy>
like, is anyone working on removing gcc from the binary seed?
<clever>
i think for that, you would want to look at the git history, and ask the people who are working on this part of the code, i see matthewbauer and gchristensen have made changes to it recently
<christianbundy>
or is that outside the interest / scope of the nix project?
<christianbundy>
cool, I'll try to catch them on irc sometime!
<clever>
christianbundy: it is of interest to me, i saw a blog once, where a crazy guy bootstraped from a text editor, not even a hex editor
<clever>
he picked opcodes that could be represented with ascii, to write a hex editor
<christianbundy>
that's absolutely wild
<clever>
and then used that to make an assembler that lacked symbol support
<christianbundy>
any chance you have a link?
<clever>
then used that to make an assembler with symbol and back-reference support
<clever>
the blog has since vanished from the internet
<clever>
christianbundy: it even has a bcompiler github link!
<clever>
christianbundy: the biggest problem i can see with such a thing, is making it capable enough that it can compile a "real" compiler
o1lo01ol1o has joined #nixos
<christianbundy>
clever: yeah, I think guix writes a barebones compiler in Scheme that compiles TCC, and *that* compiles gzip/make/etc until you have enough utilities to build gcc
<clever>
christianbundy: but i cant see why nixpkgs cant just "steal" the entire guix bootstrap process, and just translate it into a nix expr
tmaekawa has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<christianbundy>
clever: I'm sure they can, I guess I'm just wondering if that's a thing that people would do
<clever>
let me see if i can wrap bcompiler in nix, just for fun!
<christianbundy>
I've spent the past ~week trying to turn arch into gentoo and I'm realizing that I should probably pay more attention to the culture of the distro before trying my weird experiments
proofofkeags has joined #nixos
philr has joined #nixos
<christianbundy>
because with arch, you have direct circular deps (e.g. vala makedepends on vala) and I'd prefer to have a few binary bootstraps rather than having cycles in my dependency graph
maier has quit [Ping timeout: 264 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
<clever>
cp: applet not found
<clever>
ok, this could be fun!
<clever>
seems i only have ash, mkdir, tar, unxz, and zxcat
<clever>
christianbundy: guessing i need a custom busybox with cp added in?
<clever>
i'll just use pkgs.busybox initially
h0m1 has quit [Ping timeout: 244 seconds]
orivej has joined #nixos
h0m1 has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @jonringer pushed commit from @pseudomuto to master « Update default branch for tslime.vim »: https://git.io/JJVXu
<hpfr[m]>
starting X11, started X11, sddm initializing, sddm starting, sddm logind interface found, then nothing clever
<clever>
try ctrl+alt+f7 ?
<clever>
or chvt 7?
<ToxicFrog>
I've been having the same problem on my nixos-unstable liveUSB; logging in on tty1 as root and running `systemctl restart display-manager` usually fixes it.
jmeredith has joined #nixos
<hpfr[m]>
chvt 7 brought me to an empty screen with a flashing underscore, which is better than alt+f7 or ctrl+alt+f7 did. I'll try the restart
<{^_^}>
[nixpkgs] @djanatyn opened pull request #94508 → flip: init at v1.40-pre → https://git.io/JJV1r
kraeXen has joined #nixos
<hpfr[m]>
ok, the graphical iso is just broken. the unstable version didn't work in the same way as the stable version, while manjaro xfce just werked (tm)
spudly has joined #nixos
<clever>
hpfr[m]: if you install from CLI, then you can better iterate on the install, to find the solution
<hpfr[m]>
iterate on the install?
<clever>
install once, then use nixos-rebuild on that, to iterate until it works
<hpfr[m]>
oh yeah, I normally do that and I will do that, but I needed gparted to move partitions
<clever>
ah, about all i can think of there is `ssh -X` to run gparted remotely
<hpfr[m]>
but I'm guessing once I install my nix config it'll just work and I won't know why the iso didn't work. I don't use plasma
<hpfr[m]>
i feel like a criminal when I use ssh -X
<clever>
i never use the graphical iso, i just ssh in from an already working machine
<hpfr[m]>
also, manjaro xfce iso is over twice the size of the nixos graphical iso, so good job nixos i guess
<hpfr[m]>
not sure why this usb 3 port writes at 20 MB/s when this drive is supposed to do 300 MB/s
<{^_^}>
[nixpkgs] @jonringer opened pull request #94510 → libplacebo: allow for latest glslang → https://git.io/JJV1F
<hpfr[m]>
welp, turns out all the reviews say the write speeds are terrible, so that's on me lol
<hpfr[m]>
thought samsung could be trusted
<kraeXen>
mega oof
<kraeXen>
manjaro is bloated I agree, as I'm on it rn I can say that with no backlash
<kraeXen>
I'm planning to hop on artix+nix soon
<kraeXen>
just need to get everything sorted first
<hpfr[m]>
just use nixos, coward /s
<kraeXen>
no, I want the AUR and openrc
<kraeXen>
no systemd crap
<kraeXen>
in fact, using nix on another minimal OS seems to be more challenging, at least from the info I've gathered online
<hpfr[m]>
fair. just use guix then, I would switch to guix if I wasn't stuck with systemd and hardware
<clever>
kraeXen: you can still make your own openrc based distro around nix, like i did with runit (not-os)
<kraeXen>
I don't particularly like guix to be fair
<hpfr[m]>
why
<colemickens>
oops
<kraeXen>
I see the merit in full GNU and free software, and maybe someday I'll make the switch, but I don't really care for the guix package manager (I suppose nix could fix that), but it's fairly new and I like bleeding edge, but not that much
<kraeXen>
a little too far on the spectrum for me anyway
<hpfr[m]>
if you can handle openrc you can handle guix haha
<clever>
kraeXen: you can still get fully free software, if you just leave allowUnfree at the default of false
proofofkeags has joined #nixos
<kraeXen>
hpfr[m]: it's less about handling it, and more about having comfort alongside minimalism and dependability/reproducability
<hpfr[m]>
for purely package management, guix seems more comfortable to me than nix, but we're in the nix channel so I shouldn't really be taking this tack lol
<hpfr[m]>
I guess if you need nonfree stuff that's not flatpakable or dockerizable, nix is more useful, but I feel like you can only get so reproducible with nonfree sw anyway
proofofkeags has quit [Ping timeout: 240 seconds]
<kraeXen>
true, true, and I only use 2-4 nonfree software pieces anyway... For guix the USA mirror times are soo bad...
<kraeXen>
I also like arch, what can I say
<kraeXen>
and that artix logo man
<kraeXen>
ooh, and I can get a leg up on the "btw I use arch" meme :)
<kraeXen>
I digress
<kraeXen>
but perhaps at some point I'll give it a shot
matthewcroughan has quit [Ping timeout: 240 seconds]
<mog>
i wnat to override the "./install-grub.pl;" with my own can i just put my own version of system.build.installBootLoader in an override?
<clever>
mog: with mkForce, maybe, but youll also need to find the xml file
<clever>
mog: it might be simpler to use -I nixpkgs=
<mog>
the problem im trying to solve is this, we build our menuentries for grub like this linux ($drive1)//kernels/d36slr4z57rmb87ggb7695x3sym4bgkh-linux-5.7.11-bzImage systemConfig=/nix/store/kybhb03dlhhyjkarsifxz1l7vxwy9pnf-nixos-system-zaphod-20.09pre236419.a45f68ccac4 init=/nix/store/kybhb03dlhhyjkarsifxz1l7vxwy9pnf-nixos-system-zaphod-20.09pre236419.a45f68ccac4/init loglevel=4
<mog>
im trying to end up with linux /kernels/d36slr4z57rmb87ggb7695x3sym4bgkh-linux-5.7.11-bzImage systemConfig=/nix/store/kybhb03dlhhyjkarsifxz1l7vxwy9pnf-nixos-system-zaphod-20.09pre236419.a45f68ccac4 init=/nix/store/kybhb03dlhhyjkarsifxz1l7vxwy9pnf-nixos-system-zaphod-20.09pre236419.a45f68ccac4/init loglevel=4
proofofkeags has joined #nixos
<mog>
because pureboot doesnt know how to deal with the variable part, and is on the correct drive always
<mog>
hmm i think ill just fake it with system.activationScripts even if it is scummy
<ivan>
on hydra-unstable in nixpkgs master I am seeing a lot of 'Aborted: [31;1merror:[0m[34;1m --- Error --- hydra-queue-runner[0m cannot add path '/nix/store/m4gp7z8w3r0m4r0hairfr21qvwxnzrp5-hydra-perl-deps' because it lacks a valid signature'
<ivan>
for a variety of builds
<ivan>
do nixStable and nixUnstable disagree on how signatures work right now?
<hpfr[m]>
kraeXen: you can use guix like nix, as just a package manager on top of artix
<kraeXen>
ik, but I like arch, and for now I'll stick with an arch-based distro
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<Mic92>
I don't use hydra but you either need to make your builder sign paths or you need to make the user hydra is running on a trusted user so it can use unsigned paths.
<Mic92>
ivan: it don't think it's very likely that they both disagree about signatures (also you never should say never), because that should also break with the binary cache.
user_0x58 has quit [Remote host closed the connection]
<Guest93283>
I want to set up nix shell with clangd for autocompletion with emacs lsp-mode but the lsp cannot find the <iostream> library. I tried to compile the code it ran just fine but still clangd is not able to find the library.
justanotheruser has joined #nixos
<Guest93283>
I also checked when entering the shell there was no process for clangd running.
<Mic92>
Izorkin: yes. I think we don't have that plugin yet, but maybe in future? At minimum there should be added as a commented out line in case someone wants to use it in future.
<monokrome>
Seems like the version of Tor browser in the tor-browser-bundle-bin package doesn't exist any more on Tor's servers due to a recent security issue
domogled has quit [Ping timeout: 264 seconds]
domogled1 is now known as domogled
<monokrome>
I was going to fix it but tbh I can't get the test tooling to work so I gave up
<{^_^}>
[nixpkgs] @vcunat pushed 7 commits to release-20.03: https://git.io/JJVhv
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJwkZ
matthewcroughan has joined #nixos
bbennett371 has quit [Ping timeout: 260 seconds]
bbennett371 has joined #nixos
<Thra11>
Does bootstrapping nixos involve two different builds of a single version of perl (and the same with gettext and possibly others)?
<bqv>
yes
bbennett371 has quit [Ping timeout: 244 seconds]
<Thra11>
Is it a case of building a minimal version which is then used to bootstrap stuff to build a proper, optimised version, or is it something else?
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #60246 → nixos/modules/virtualization: Options to add an extra disk in virtualbox VM → https://git.io/fjsoh
<infinisil>
bqv: Ah no it's not a mistake, all outputs have the same derivation file
<bqv>
right, makes sense
<bqv>
yeat
knupfer has joined #nixos
ixxie has joined #nixos
<evanjs>
gah. easiest way to check a list of package(derivation)s for a specific package?
<evanjs>
or rather, is there any sugar for that sort of thing? :P vs just a filter or etc
mwelt has joined #nixos
knupfer1 has joined #nixos
<mwelt>
hi all. Short question to installing packages. `nix search nodejs` returns various versions of nodejs, but all have the same symbol (nodejs). So how exactly do I install a specific version? Or better yet, how do I install a package by package name and not by symbol?
<superbaloo>
daddy_james[m]: there is a rtl8192su-firmware package which unlike its name indicates, handles rtl8191se
<daddy_james[m]>
ah thanks
<mwelt>
`nix search` isn't supported officially, and `nix-env -aq` returns package names, but requests package symbols for acatual -i option? Isn't this kind of inconsistent?
<daddy_james[m]>
I was researching the .deb for the debian package and noticed it didn't contain a file for the 8191se
<infinisil>
evanjs: Not sure what you mean
<daddy_james[m]>
so I guess they're just identical
Mateon1 has quit [Remote host closed the connection]
asymptotically has quit [Remote host closed the connection]
WRMilling has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<WRMilling>
I feel like I have just made a new user mistake. Trying to install with nix-env gives me an error about: attribute 'nixpkgs' in selection path 'nixpkgs.sysbench' not found
knupfer has joined #nixos
<Ke>
daddy_james: not knowledge, but I would try configs like hardware.enableAllFirmware
<Ke>
or just
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
nikita` has joined #nixos
<Ke>
hardware.firmware = with pkgs; [ rtl8192su-firmware ];
<Ke>
which seems to be the backing implementation for that
<infinisil>
grfn: Hm it doesn't seem to be well supported, but I believe doing `.overrideAttrs (old: { cargoDeps = fetchCargoTarball { ... }; })` should work
<{^_^}>
[nixpkgs] @c00w opened pull request #94574 → vend: Use nix-community fork of vend. → https://git.io/JJw4e
<lally>
Hi, in getting the "current Nix store schema is version 10, but I only support 7", what versions of nix-store are relevant for each version? So I can follow the appropriate dump/restore instructions.
<muranic>
Trying to get used to using configs for all of my stuff. This is for an always-on VPN. But when I close my laptop and wake it up again, I need to restart the systemd service to get connection. Any way to automate that? https://pastebin.com/v7GBYPW8
orivej_ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<ivan>
mullvad has wireguard endpoints, you could just use those instead
<ivan>
wireguard is connectionless and will retry after 5 seconds or so
<muranic>
I couldn't really figure out a Wireguard configuration, especially with split tunneling.
jumper149 has quit [Quit: WeeChat 2.9]
growpotkin has joined #nixos
<wucke13>
How does one override the linux_testing_bcachefs expression to build the latest version from master?
<aleph->
muranic: Always tailscale. There's a module for it. :) CC: danderson
shibboleth has quit [Quit: shibboleth]
Cale_ has quit [Quit: Leaving]
waleee-cl has quit [Quit: Connection closed for inactivity]
Cale has quit [Remote host closed the connection]
Cale has joined #nixos
<muranic>
aleph- Seems like a centralized solution? Unless I'm misunderstanding it
<aleph->
That is correct
<aleph->
Split tunneling shouldn't be an issue. By default it won't route 0.0.0.0 over it
<ivan>
generally the point of using mullvad is to have a 0.0.0.0 route though
kalbasit has joined #nixos
kalbasit_ has joined #nixos
<aleph->
Eh true. I saw the bit about split tunneling and assumed they didn't want to
kalbasit_ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
kalbasit has quit [Remote host closed the connection]
<muranic>
My wireguard config wasn't getting any connection so I eventually settled for OpenVPN. https://pastebin.com/WBu3MV65
kalbasit has joined #nixos
<notgne2>
is there any way to make SystemD services defined in home-manager able to run without the user being logged in?
<kalbasit>
How to use shell completions installed by installShellCompletion? For instance, how can I enable shell completions for golangci-lint?
<aleph->
Need to use loginctl iirc notgne2
orivej_ has quit [Ping timeout: 272 seconds]
<aleph->
Let me grab my weechat service config for the other bit
<bqv>
aleph-: centralized and nonfree, ouch
o1lo01ol1o has joined #nixos
<bqv>
notgne2: enable linger
<bqv>
Can't be done declaratively, weirdly
<notgne2>
just came across that now, is there a way to do it inside of nixos already? or should I do some activation script thingy
afreakk has joined #nixos
afreak has quit [Quit: leaving]
<bqv>
It's a oneshot command, up to you if you wanna put it in activation or just do it
<clever>
Thra11_: i moved the hydra to another domain, https://hydra.angeldsis.com/ but its not building very much armvl right now
<wucke13>
I got somewhat forward on compiling bcachefs master. However, the build fails while patching scripts/Makefile.modinst . Is there a way to omit this patch?
o1lo01ol1o has quit [Ping timeout: 260 seconds]
doyougnu` has quit [Ping timeout: 260 seconds]
asymptotically has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
<kini>
I have a package that needs two source archives to be downloaded, and one extracted inside a subdirectory of another. Is there an easy way to compose fetchurl to do this?
<simpson>
kini: You can put `srcs` instead of `src`, and make it a list of sources. You'll have to write a bit of custom unpacking logic.
<kini>
simpson: Nice, thanks! I see an example in the nixpkgs manual as well when searching the page for "srcs". Also, long time no see :) Just popped back into the PSU IRC server but it looks relatively empty now, haha.
<wucke13>
clever: How can I get a shell like with nix-shell --run-env for that?
stephaneyfx has quit [Quit: Leaving]
<simpson>
kini: Huh, didn't realize it came back up. Maybe I'm banned~ No worries.
<clever>
wucke13: what are you trying to do? (also, line 293)
tobiasBora2 has joined #nixos
<wucke13>
clever: I want to build a nixos system with linux_testing_bcachefs being overriden to the latest version from master
<aleph->
bqv: I mean the client is OSS, the solo plan is free as in beer, and there is a OSS impl of the... auth server iirc
muranic has quit [Remote host closed the connection]
<wucke13>
So far the build starts but fails again, because of the patch for scripts/Makefile.modinst
<clever>
wucke13: then just run nix-build on the right linux attr, skip the whole nixos layer
<higemaru>
is there a way to add a shell to `/etc/shells` in configuration.nix? I'm trying to set the shell for user git to git-shell.