<catern> heh!
<catern> so I should be able to just check out a channel from this use
pxc has quit [(Ping timeout: 240 seconds)]
<catern> and keep it up to date with git pull
<catern> and that's completely equivalent to nix-channel?
<clever> yep
<catern> thanks for all the help btw :)
<clever> only thing youll be missing is programs.sqlite for command-not-found
<gchristensen> I wouldn't guarantee 100% but it surely is close
<catern> hmm? what are these differences?
<gchristensen> I dunno
<gchristensen> but there might be :P
<catern> what's "programs.sqlite for command-not-found"?
<clever> the channel generates a programs.sqlite file, containing a list of every single command in every single package
<clever> and command-not-found will look it up and tell you what package has it
<catern> oh, that's neat
<clever> there is then a hook in bash, that does it automaticaly
<catern> I guess that doesn't work on Nix on foreign distros though
<catern> but it probably could be made to work
<clever> oh right, the command-not-found script is hard-coded to look in root's nixos channel
<clever> and the channel with the nixos name wont exist on debian
<jake_> clever: what was the goal of nsenter and unshare? I seem to have gotten a shell with pid 1 and proc in the subdirectory with the following:
<jake_> clever: sudo mount --bind nixos-container/proc/ nixos-container/proc
<jake_> clever: udo mount --make-private nixos-container/proc/
<jake_> clever: sudo unshare --fork --pid --mount-proc=/usr/local/nixos-container/proc bash
<clever> jake_: unshare was to execute systemd, which you can do with "exec /init" after running /boot
<gchristensen> oh no, mass rebuild in master
<clever> and nsenter lets you spawn a process in the same namespace
<clever> but i couldnt get nsenter to work, and the systemd keeps eating the host
<catern> gchristensen: how long does that usually take?
<jake_> clever: wait so systemd needs to have pid 1, that's the main problem?
thc202 has quit [(Ping timeout: 240 seconds)]
<gchristensen> catern: <24hrs
<clever> jake_: yeah
indi_ has joined #nixos
<gchristensen> but I was hoping to get faster feedback on my rustc bootstrap downgrade
<clever> jake_: the pid namespace can solve that
<jake_> clever: and how do you get a shell after that
<catern> gchristensen: hmm, how many machines does hydra have?
<jake_> clever: my shell is pid 1 right now
<clever> jake_: thats where i got stuck
MP2E has joined #nixos
<catern> sorry, you don't have to answer, I will try and find out
<jake_> clever: how does it normally work in a normal boot?
<gchristensen> catern: between 15 (base number) and 27 based on the number of jobs
<catern> interesting
<catern> how many cores?
<gchristensen> and also based on the current spot price of AWS m4.xlarge's
<clever> jake_: for a real boot, stage1 runs stage2 via switch_root, and stage2 is what i symlinked at /init in the tar
<catern> oh, wow, neat!
<gchristensen> some of them have like 4 cores, some of them have 48 cores
<gchristensen> one of them has 96 cores
<clever> jake_: and after stage2 does some basic setup, it exec's systemd as pid 1
<gchristensen> oh, 5 have 1 core
<catern> I am trying to get multi-user Nix deployed everywhere internally at my company, and currently am blocked on the task of getting a /nix/store directory made... so I'm tempted to make an internal build farm and rebuild the world so I can put the store at a directory I control
<catern> should I be more patient and stick to /nix/store?
<gchristensen> I would highly recommendd it
indi_ has quit [(Remote host closed the connection)]
<gchristensen> we (unfortunately) assume a few places it is /nix/store
<spinus> what is the best way to access derivation environment? I would like to build environment that exist during derivation build, is it possible?
<catern> okay, that's the impression I got
<gchristensen> or assume it is two directory components /component1/component2/
<catern> I will tough it out then
<gchristensen> you're doing a hard job :(
MP2E has quit [(Ping timeout: 255 seconds)]
hellrazor has quit [(Remote host closed the connection)]
hellrazor has joined #nixos
orivej has quit [(Ping timeout: 260 seconds)]
<spinus> basically what I'm trying to do is to propagate all buildInputs derivation has, currently I do buildEnv and getting all buildInputs and propagateBuildInputs into it, is there any better way?
<catern> heh, it's made harder by all the "helpful" suggestions from others about how to "improve" Nix and not use /nix/store... for example, one person is suggesting that we should patch the binaries that are installed, on-demand, so that /nix/store is replaced with /opt/var/n (which I can control)
<gchristensen> catern: that seems suboptimal
orivej has joined #nixos
<spinus> I feel like suboptimal is euphemism here :-)
<gchristensen> :)
indi_ has joined #nixos
boj has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
ris has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
eacameron has quit [(Remote host closed the connection)]
nh2 has quit [(Quit: Leaving.)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
bbarker has quit [(Read error: Connection reset by peer)]
fnljk has quit [(Disconnected by services)]
fnljk_ has joined #nixos
boj has joined #nixos
zeus_ has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
judson has quit [(Remote host closed the connection)]
fnljk has joined #nixos
hellrazor has quit [(Ping timeout: 246 seconds)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
eacameron has joined #nixos
fnljk_ has quit [(Ping timeout: 260 seconds)]
indi_ has quit [(Remote host closed the connection)]
fnljk has quit [(Ping timeout: 240 seconds)]
Wizek__ has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Remote host closed the connection)]
indi_ has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
fnljk has joined #nixos
digitalmentat has quit [(Ping timeout: 240 seconds)]
pie__ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
lambdamu has joined #nixos
roconnor has quit [(Ping timeout: 260 seconds)]
orivej has quit [(Ping timeout: 240 seconds)]
lambdamu_ has quit [(Ping timeout: 240 seconds)]
<catern> yes, I agree :)
ison111 has joined #nixos
k0001 has quit [(Remote host closed the connection)]
<jake_> clever: I have systemd with pid but it's still hanging. do we know why that happens?
<jake_> clever: ^^ meant to say with pid 1
k0001 has joined #nixos
<clever> jake_: i think that hang is normal, thats what its supposed to do
<jake_> clever: so we need a fork?
<clever> jake_: it has finished booting, and all services listed in the configuration.nix are running
<jake_> clever: for the shell
<clever> jake_: you either need to use nsenter to force a shell into the same namespace, or setup sshd with the normal flags in the configuration.nix the tar is made from
<clever> once you do get a shell, nixos-rebuild may work, and it will become easier to manage
<jake_> clever: why can't the main process fork before starting systemd?
<clever> ah, maybe it could, just bash& before you exec systemd
<catern> hey #nixos, say I need to bootstrap a nix install on top of Debian 7, so I need to some build some fairly portable and self-contained binaries and get them on to that host... should I just build my own Nix binary tarball and do this that way?
<catern> (I want to modify some config parameters - namely the default binary cache - so have to build my own)
<catern> this is also going to be a multi-user install... will that work fine with the tarball?
hellrazor has joined #nixos
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
<jake_> clever: hmm then control is still with the systemd process and the bash is off somewhere else
<clever> jake_: yeah, nsenter might be better
<catern> (also btw thanks for all the massive amounts of help)
<jake_> clever: what i'm confused about is how this works in a regular system. what happens after stage2
<gchristensen> catern: <3
<jake_> clever: because we finish stage2 now. the question is how do you normally get the shell
<clever> jake_: normally, systemd would launch a getty process for tty1 thru tty6, and launch the X server via the display-manager service
<clever> but containers dont have access to either
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
<jake_> clever: ahhh. okay
indi_ has quit [(Remote host closed the connection)]
<clever> the nixos-container script has this function
<clever> runInContainer("/nix/store/xd2finah2jp61sax9h3d9a1xirvfggxh-shadow-4.4-su/bin/su", "root", "-l");
<clever> exec($nsenter, "-t", $leader, "-m", "-u", "-i", "-n", "-p", "--", @args);
Wizek has quit [(Ping timeout: 246 seconds)]
<clever> which just runs "su root -l" inside the container via nsenter
<jake_> clever: but for nsenter we need either a mounted pid_ns file or the pid of the systemd process in the host pid space right?
<clever> yeah
<jake_> clever: so maybe we fork before we unshare
<clever> so you would have to save the host side pid of what will become pid 1
<clever> if you dont use unshare --fork, then the process creating that initial child will probably know the real pid
<clever> and can save it
<boj> how would i go about passing a haskell cabal flag to nix-build, or write an expression to enable it?
<jake_> clever: great i'll try it
hellrazor has quit [(Quit: WeeChat 1.8)]
<clever> without --fork, unshare will change the process namespace for itself, creating a namespace with 0 processes in it
<clever> then it will execve the command you gave to unshare
<clever> which is now the only thing in that namespace, with 0 processes
<clever> the first child it makes will become pid 1
<jake_> clever: right so i give it init
indi_ has joined #nixos
<clever> but fork/clone() might return the non-namespaced pid
<jake_> clever: what if i leave the fork
<jake_> clever: in with unshare
<clever> not sure then
<jake_> clever: but before that start a different process that knows the parent's pid, then in that child nsenter the parent's namespace
pxc has joined #nixos
<jake_> clever: in the parent i unshare fork /init
s33se has joined #nixos
<clever> yeah, something like that
<jake_> clever: then the systemd will get the pid 1 and the child will enter his namespace
eacameron has joined #nixos
Supersonic112 has quit [(Ping timeout: 255 seconds)]
<clever> yeah
s33se_ has quit [(Ping timeout: 240 seconds)]
Supersonic112 has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
stallion has quit [(Quit: stallion)]
eacameron has joined #nixos
vaibhavsagar has joined #nixos
<jake_> clever: if we're forking before the unshare, then we're forking before the chroot. should we chroot again after nsenter?
stallion has joined #nixos
<clever> jake_: i think nsenter can handle the chroot for you, but that relies on the host having nsenter
<jake_> clever: host has nsenter
ryanartecona has quit [(Quit: ryanartecona)]
<jake_> clever: i'm already relying on host having unshare also
<clever> ah
<jake_> clever: oh i see the flag
<jake_> clever: how do i check if the new process is in the new namespace
stallion has quit [(Ping timeout: 268 seconds)]
<clever> jake_: via /proc/<pid>/ns/ i believe
<clever> the symlinks will have the namespace id's
<clever> so you can compare those
pie__ has quit [(Ping timeout: 240 seconds)]
<jake_> clever: this is in the host then, comparing the systemd to the shell process
vaibhavsagar has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
kiloreux has joined #nixos
kiloreux_ has joined #nixos
pie_ has joined #nixos
digitalmentat has joined #nixos
vaibhavsagar has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
<kiloreux> I am having an issue when trying to run unoconv with nixpkgs
<kiloreux> having this error message
<kiloreux> error while loading shared libraries: libbz2.so.1.0: cannot open
<kiloreux> shared object file: No such file or directory
<catern> woah!
<catern> it is incredibly easy to build a binary tarball
<catern> this is neat :)
vaibhavsagar has quit [(Remote host closed the connection)]
lambdamu_ has joined #nixos
vaibhavsagar has joined #nixos
k0001 has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
lambdamu has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
indi_ has quit [(Remote host closed the connection)]
jgertm has joined #nixos
<catern> hmm, maybe not so easy :)
mudri has quit [(Ping timeout: 260 seconds)]
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
indi_ has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
spinus has quit [(Ping timeout: 246 seconds)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
<catern> mm
kiloreux_ has quit [(Remote host closed the connection)]
kiloreux has quit [(Remote host closed the connection)]
filterfish has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz created pkg/dns-root-data (+2 new commits): https://git.io/vHAXm
<NixOS_GitHub> nixpkgs/pkg/dns-root-data 4d65516 Franz Pletz: ldns: also build examples
<NixOS_GitHub> nixpkgs/pkg/dns-root-data fa50666 Franz Pletz: dns-root-data: init at 2017-06-16
NixOS_GitHub has left #nixos []
filterfish has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
jake_ has quit [(Ping timeout: 246 seconds)]
boj has quit [(Ping timeout: 255 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz opened pull request #26613: dns-root-data: init at 2017-06-16 (master...pkg/dns-root-data) https://git.io/vHA1s
NixOS_GitHub has left #nixos []
indi_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz deleted pkg/dns-root-data at fa50666: https://git.io/vHA1c
NixOS_GitHub has left #nixos []
pie__ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
hellrazor has joined #nixos
athan_ has joined #nixos
indi_ has quit [(Ping timeout: 268 seconds)]
athan_ has quit [(Ping timeout: 240 seconds)]
danl1240 has joined #nixos
roconnor has joined #nixos
boj has joined #nixos
bgamari has quit [(Ping timeout: 246 seconds)]
hamishmack has quit [(Ping timeout: 240 seconds)]
bgamari has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vHADl
<NixOS_GitHub> nixpkgs/master 7272f80 Franz Pletz: nmap: 7.40 -> 7.50
<NixOS_GitHub> nixpkgs/master fd0384b Franz Pletz: pythonPackages.glances: 2.9.1 -> 2.10
NixOS_GitHub has left #nixos []
stallion has joined #nixos
stallion has quit [(Read error: Connection reset by peer)]
stallion_ has joined #nixos
jsgrant has quit [(Quit: leaving)]
stallion has joined #nixos
stallion_ has quit [(Read error: Connection reset by peer)]
hamishmack has joined #nixos
stallion has quit [(Ping timeout: 260 seconds)]
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
hamishmack has quit [(Client Quit)]
hamishmack has joined #nixos
spinus has joined #nixos
RayNbow`TU has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
vaibhavsagar_ has joined #nixos
indi_ has joined #nixos
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
vaibhavsagar_ has quit [(Ping timeout: 240 seconds)]
gabesoft has joined #nixos
gabesoft has quit [(Client Quit)]
eacameron has quit [(Remote host closed the connection)]
pie__ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
pie__ has joined #nixos
eacameron has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
dfranke has quit [(Ping timeout: 255 seconds)]
indi_ has quit [(Ping timeout: 260 seconds)]
endformationage has quit [(Quit: WeeChat 1.7)]
reinzelmann has joined #nixos
jbgi has joined #nixos
dfranke has joined #nixos
k2s has joined #nixos
stallion has joined #nixos
stallion has quit [(Ping timeout: 240 seconds)]
<ison111> Does anyone know what might be causing my wired network connection to be going slow? It almost seems like a DNS issue or something because it takes a long time to initialize a connection to a website, but once it connects it goes fast. Nothing physical has changed on my network since I installed NixOS.
indi_ has joined #nixos
jbgi has quit [(Ping timeout: 258 seconds)]
vaibhavsagar has joined #nixos
<nixy> ison111: That doesn't really sound like a NixOS issue to be honest
<nixy> If you suspect DNS then it is possible that there are issues with the resolver you are using which could cause slow lookups
indi_ has quit [(Remote host closed the connection)]
Mercuria1Alchemi has joined #nixos
indi_ has joined #nixos
jbgi has joined #nixos
oahong has joined #nixos
indi_ has quit [(Ping timeout: 268 seconds)]
oahong has quit [(Changing host)]
oahong has joined #nixos
marsel has joined #nixos
jake_ has joined #nixos
<jake_> clever: after much experimenting, i think the issue is this: we can either fork before we unshare or after. if we fork after, then the parent is the one with pid 1 and it has to be systemd and not shell, so we can't give control to the child shell. therefore we have to fork before. then we need a way of connecting to the ns after the systemd process unshares after the fork. i couldn't get it to work with the mounted files at all, unclear
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan opened pull request #26614: chrome: fix fallout from #26512 (master...chrome) https://git.io/vHAHo
NixOS_GitHub has left #nixos []
jbgi has quit [(Ping timeout: 246 seconds)]
leat has quit [(Ping timeout: 240 seconds)]
freusque has joined #nixos
jake_ has quit [(Ping timeout: 255 seconds)]
zeus_ has quit [(Remote host closed the connection)]
chakerbenhamed has joined #nixos
<chakerbenhamed> Hey, Hydra is currently built around a pull model with polling to detect changes of the inputs.
<chakerbenhamed> Is there a way to use webhook to evaulte to jobset instead?
k2s has quit [(Ping timeout: 240 seconds)]
pie__ has quit [(Read error: Connection reset by peer)]
pie___ has joined #nixos
chakerbenhamed has quit [(Quit: WeeChat 0.4.2)]
marsel has quit [(Ping timeout: 260 seconds)]
hellrazor has quit [(Quit: WeeChat 1.8)]
pie_ has joined #nixos
pie___ has quit [(Read error: Connection reset by peer)]
nh2 has joined #nixos
stallion has joined #nixos
pie_ has quit [(Ping timeout: 258 seconds)]
ambro718 has joined #nixos
stallion has quit [(Ping timeout: 240 seconds)]
ertes has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
nh2 has quit [(Quit: Leaving.)]
King_of_Ireland has joined #nixos
Vorpal has quit [(Ping timeout: 245 seconds)]
nh2 has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
Wizek has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
civodul has joined #nixos
Itkovian has joined #nixos
FRidh has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
FRidh has quit [(Remote host closed the connection)]
FRidh has joined #nixos
orivej has joined #nixos
indi_ has joined #nixos
pie__ has quit [(Ping timeout: 255 seconds)]
pie_ has joined #nixos
nschoe has joined #nixos
alfie has quit [(Ping timeout: 260 seconds)]
ambro718 has quit [(Ping timeout: 240 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
ertes-w has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rasendubi closed pull request #26575: ddcutil: init at 0.8.2 (master...ddcutil) https://git.io/vHFfx
NixOS_GitHub has left #nixos []
FRidh has quit [(Remote host closed the connection)]
k2s has joined #nixos
watersoul_ has joined #nixos
FRidh has joined #nixos
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vHAdd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #26615: jenkins service: Add extraJavaOptions. (master...jenkins-extra-java-options) https://git.io/vHAdb
NixOS_GitHub has left #nixos []
watersoul has quit [(Ping timeout: 240 seconds)]
alfie has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
marsel has joined #nixos
Wizek has quit [(Read error: Connection reset by peer)]
DrWaste has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26615: jenkins service: Add extraJavaOptions. (master...jenkins-extra-java-options) https://git.io/vHAdb
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHAF2
<NixOS_GitHub> nixpkgs/master 79c24a0 georgewhewell: pythonPackages.defusedxml: 0.4.1 -> 0.5.0
<NixOS_GitHub> nixpkgs/master b127317 Frederik Rietdijk: Merge pull request #26589 from georgewhewell/bump-defusedxml...
NixOS_GitHub has left #nixos []
nh2 has quit [(Quit: Leaving.)]
sigmundv__ has joined #nixos
acarrico has quit [(Remote host closed the connection)]
<lambdamu_> Is there something like extend for the top-level package set? If not, could we wrap it with makeExtensible, or does that not work for some reason?
arianvp2_ has joined #nixos
<sphalerite> lambdamu_: I think you can just use // to add stuff to pkgs
<sphalerite> unless I'm misunderstanding what you want
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vHAFA
<NixOS_GitHub> nixpkgs/master ca8eed1 Fatih Altinok: flow: 0.46.0 -> 0.48.0
NixOS_GitHub has left #nixos []
akamaus has quit [(Ping timeout: 240 seconds)]
<sphalerite> clever: FWIW my experimentation with namespaces is pretty much limited to https://github.com/lheckemann/hidethestuff
<clever> sphalerite: i do have nsenter and unshare mostly working now, i can spawn shells in the same namespace that unshare has made
<sphalerite> nice
<clever> just need to see whats up with systemd
<sphalerite> Have you stopped systemd's patricide?
<sphalerite> right
<clever> i think its crossing
<clever> i can see it connecting to a unix socket at /run/systemd/private
<clever> and its inside the chroot, so it should be isolated
<clever> (when i just run systemctl to see basic status)
King_of_Ireland has left #nixos [""Ahh yes, I was wondering what would break first. Your spirit - or your body.""]
thc202 has joined #nixos
<clever> and getsockopt so_peercred confirms that the remote end of that unix socket is pid 1 in the current namespace
k2s has quit [(Ping timeout: 240 seconds)]
<lambdamu_> sphalerite: That works but other packages won't respect the overrides, I wan't to extend by a (self: super: ...) function like we can do with overlays or extend, I can pass the overlays attribute when importing nixpkgs, but that deactivates the overlays in my home folder
bennofs has joined #nixos
<clever> sphalerite: weird, "systemctl status dhcpcd" shows the exact same pid and logs
<clever> sphalerite: its entirely escaping the jail and quering the host
<sphalerite> ¯\_(ツ)_/¯
<clever> what if i strace the fake pid 1
cfricke has joined #nixos
<clever> wait nvm, lol
<clever> i ran both of those under nsenter
<sphalerite> lambdamu_: ah right. The old packageOverrides still works I think, so you should be able to import <nixpkgs> { config.packageOverrides = super: {...} } or something along those lines Ithink
<clever> yep, there are 2 dhcpcd's running
<clever> sphalerite: annndd, ctrl+c on strace crashes displaymanager somehow!
<sphalerite> ♥
<clever> yet the container is still alive
spinus has quit [(Ping timeout: 240 seconds)]
<FRidh> lambdamu_: can you open an issue about this on the tracker? Perhaps you can override the call to `<nixpkgs> {}` so that you can get the `overlays` that were used and extend those with yours
indi_ has quit [(Remote host closed the connection)]
<clever> sphalerite: lol, the container has no gc roots, its able to GC everything!
<sphalerite> D:
<clever> it didnt even care about in-use processes
FRidh has quit [(Quit: Konversation terminated!)]
indi_ has joined #nixos
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shak-mar opened pull request #26616: Pybitmessage 0.6.2 (master...pybitmessage-0.6.2) https://git.io/vHANl
NixOS_GitHub has left #nixos []
goibhniu has joined #nixos
indi_ has quit [(Client Quit)]
<lambdamu_> FRidh: I've copied the function that grabs the overlays in the first place from impure.nix and pass them explicitly with my additional overlays when I import <nixpkgs>, but that's not so great of course, the way the overlays are setup is a little bit self defeating right now, if I come up with a beter proposal I will open an issue
<lambdamu_> after it's all about layering and compositions, but now locally passed overlays exclude the global ones
<clever> sphalerite: one big problem i can see, the container is spawning agetty on the host tty1
<clever> sphalerite: that explains why the terminal kept going wonky when i tested without xorg
<sphalerite> aaah right
<clever> it ate the terminal, and gave a guest login prompt
<clever> and tried to incept me, lol
<sphalerite> presumably tty stuff is the reason why it crashed the display manager too?
<clever> the display manager only crashes when the guest systemd gets a ctrl+c
<clever> modules/services/ttys/agetty.nix: enable = mkDefault config.boot.isContainer;
<sphalerite> Yeah, maybe the guest systemd does some sort of reset on the tty at that point which the display manager doesn't like
<clever> and there is an option that should have prevented that
<sphalerite> huh
<clever> i have boot.isContainer set on the guest
<clever> hmmm, maybe user namespacing... let me check my real container
lambdamu_ has quit [(Ping timeout: 240 seconds)]
<clever> nope, systemd has real uid 0
<bennofs> I'm getting this on ArchLinux with nix unstable from nixpkgs: warning: unable to download ‘https://cache.nixos.org/yhfjdgb0x03q51nmajpfxpc8h7ckc91m.narinfo’: Couldn't resolve host name (6); retrying in 327 ms
<bennofs> anyone know what's wrong?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vHAAl
<NixOS_GitHub> nixpkgs/master 2f45c37 Francois-Rene Rideau: gerbil: 0.10 -> 0.11
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 260 seconds)]
<clever> bennofs: what does "ping google.com" say?
arianvp2_ has quit [(Quit: arianvp2_)]
mudri has joined #nixos
<bennofs> clever: It works. I think i remember now what the problem is, I have resolved's resolver in /etc/nsswitch.conf and nix doesn't have the NSS module in its glibc by default
<bennofs> but removing that didn't fix it, hmm
<clever> and its getting late here, i need to get some sleep
lambdamu has joined #nixos
kiloreux has joined #nixos
<bennofs> ah, i remember something more now. I believe there was some incompat between systemd 232's resolved and the glibc dns nsswitch module
bennofs has quit [(Quit: WeeChat 1.8)]
oida has quit [(Read error: Connection reset by peer)]
oida has joined #nixos
bennofs has joined #nixos
<bennofs> ok, that was it. I needed to upgrade systemd
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fd0384b4c2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
orivej has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
johnramsden has joined #nixos
k2s has joined #nixos
<kiloreux> How can I install libreoffice on my system using libreoffice = pkgs.callPackage ./libreoffice.nix { };
<sphalerite> How reproducible are builds from nixpkgs btw?
<kiloreux> I tried using the default file from the nixpkgs directory
<kiloreux> but didn't work
<sphalerite> kiloreux: nix-env -f path/to/nixpkgs -iA libreoffice
<bennofs> sphalerite: reproducible or deterministic?
mudri has joined #nixos
<sphalerite> bennofs: both I guess
<kiloreux> sphalerite, isn't there anyway to use that approach since I want to have more control over what's inside nix file ?
<sphalerite> kiloreux: if you have a copy of nixpkgs checked out you can modify that copy
<sphalerite> and install it from there
<sphalerite> kiloreux: you can also make your own expression where you only override particular parts of it. If you put with import <nixpkgs> {}; libreoffice.override {some overrides here} you can install that too
<kiloreux> Quite a noob here, How can I do that ? I am actually pinning down my nixpkgs version to a specific commit (production purposes).
<sphalerite> What exactly do you want to change about libreoffice?
<kiloreux> I just need to fix everything in the nix-file so nothing could change in the future unless i want it to.
<kiloreux> Also to remove a few extra dependencies that we don't need.
<sphalerite> If you're pinning the nixpkgs version, libreoffice will never change
<sphalerite> Note that if you remove those dependencies it will probably need to rebuild libreoffice, and that takes quite a while iirc. But if you want to go ahead with that use libreoffice.override { bluez5 = null; } for instance
<sphalerite> libreoffice's dependency list is terrifying D:
<kiloreux> So using adding libreoffice in default.nix is a no go I guess ?
k2s has quit [(Ping timeout: 260 seconds)]
orivej has quit [(Ping timeout: 240 seconds)]
arjen-jonathan has joined #nixos
newhoggy has joined #nixos
cfricke has quit [(Quit: WeeChat 1.8)]
<sphalerite> kiloreux: which default.nix?
<kiloreux> a simple default.nix that i am keepin in a directory to install packages from
jensens has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
pie__ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
mudri has quit [(Ping timeout: 240 seconds)]
MoreTea has joined #nixos
<MoreTea> grahamc, you're coming to nixcon :D?
<MoreTea> looking forward to meet you there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #26618: hugo: 0.22.1 -> 0.23 (master...pr/hugo-0.23) https://git.io/vHxeb
NixOS_GitHub has left #nixos []
roconnor has quit [(Ping timeout: 240 seconds)]
<sphalerite> kiloreux: of course you can, just add libreoffice = pkgs.libreoffice.override {someDependency = null};
oahong has quit [(Ping timeout: 246 seconds)]
sdhand has quit [(Excess Flood)]
sdhand has joined #nixos
<sphalerite> kiloreux: why would you call the packages like that though rather than using the versions that you already have in nixpkgs?
sdhand is now known as Guest65032
Guest65032 has quit [(Changing host)]
Guest65032 has joined #nixos
Guest65032 is now known as sdhand
oahong has joined #nixos
<kiloreux> Just for the sake of customization of specific params and having everything listed in production.
newhoggy has joined #nixos
fnljk has quit [(Disconnected by services)]
fnljk_ has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
agjacome has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHxvb
<NixOS_GitHub> nixpkgs/master 3f97bca Yann Hodique: hugo: 0.22.1 -> 0.23...
<NixOS_GitHub> nixpkgs/master 6320672 Jörg Thalheim: Merge pull request #26618 from sigma/pr/hugo-0.23...
NixOS_GitHub has left #nixos []
newhoggy has quit [(Remote host closed the connection)]
Havvy has quit [(Read error: Connection reset by peer)]
<sphalerite> kiloreux: but you can do that without copying the expressions out of nixpkgs
<sphalerite> kiloreux: it's harder to maintain than using overrides
Havvy has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
fnljk has joined #nixos
fnljk_ has quit [(Read error: Connection reset by peer)]
<kiloreux> That I didn't know.
<kiloreux> Thank you
<kiloreux> so it's absolutely the same thing ?
<kiloreux> and it's guarnateed that it won't change ?
johnramsden has quit [(Remote host closed the connection)]
fnljk has quit [(Ping timeout: 246 seconds)]
lambdael has joined #nixos
arianvp2_ has joined #nixos
isHavvy has joined #nixos
k0001 has joined #nixos
Havvy has quit [(Ping timeout: 240 seconds)]
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] regnat opened pull request #26619: ocamlPackages.containers: 0.22 -> 1.2 (master...ocaml-containers) https://git.io/vHxUT
NixOS_GitHub has left #nixos []
mpcsh has joined #nixos
fnljk has joined #nixos
<gchristensen> MoreTea: its going to be the event of the season!
digitalmentat has quit [(Ping timeout: 240 seconds)]
<qknight> Profpatsch: hey, da?
<qknight> on my nixos system i have to recreate /run/user/0 a few times/hour to still be able to use nix-build/nixos-rebuild switch
<qknight> what keeps deleting the 0 folder?
proteus-guy has quit [(Remote host closed the connection)]
<gchristensen> is your uid 0?
arianvp2_ has quit [(Remote host closed the connection)]
<gchristensen> I only have /run/user/1000 /run/user/175
arianvp2_ has joined #nixos
sigmundv__ has quit [(Ping timeout: 240 seconds)]
<qknight> ah, maybe nixos-rebuild switch itself
<qknight> gchristensen: can you try to `nixos-rebuild switch`, it should fail i assume
<qknight> gchristensen: nixos-rebuild switch is usually executed by uid 0
<gchristensen> well you have to log in as root to do so
<gchristensen> which is what (usually) creates /run/user/0
DutchWolfie has joined #nixos
fnljk has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs pushed 1 new commit to master: https://git.io/vHxU1
<NixOS_GitHub> nixpkgs/master 11b1135 Benno Fünfstück: rustRegistry: 2017-05-31 -> 2017-06-16
NixOS_GitHub has left #nixos []
<qknight> gchristensen: i'm logged in via mosh/ssh
<qknight> gchristensen: maybe the error is there somewhere
<gchristensen> no, that shoulddo it :?
sdhand has quit [(Excess Flood)]
<gchristensen> guh. LnL ping? I'm wonderingif we should revertt the rust changes
sdhand has joined #nixos
sdhand has quit [(Changing host)]
sdhand has joined #nixos
<LnL> what's the issue, that bootstrap version?
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
<gchristensen> that was the first issue
newhoggy has joined #nixos
<LnL> I noticed it when looking at the pr but didn't think that would be a problem
marsel has quit [(Quit: WeeChat 1.7.1)]
<gchristensen> now we get error: this needs a `'static` lifetime or the `static_in_const` feature, see #35897--> src/tools/compiletest/src/main.rs:545:25 heh
pie_ has joined #nixos
pie__ has quit [(Remote host closed the connection)]
<gchristensen> I wonder if the refactoring broke something by mistake
<avn> Folks, I have small but complex problem -- I have some software, with absolute non-deterministic source (sftp server+dir). I already have script, which switch it to git repo, but I need to propagate it as nix derivation, with generations. What a best way to do it?
marsel has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
<LnL> gchristensen: refactoring?
bennofs has quit [(Ping timeout: 255 seconds)]
<avn> Does nix-env able to manage any arbitray derivations as profiles/generations?
pie_ has quit [(Ping timeout: 240 seconds)]
georges-duperon has joined #nixos
tmaekawa has joined #nixos
<LnL> gchristensen: did something change recently
tmaekawa has quit [(Client Quit)]
arianvp2_ has quit [(Ping timeout: 255 seconds)]
pie_ has joined #nixos
<ktosiek> avn: you'll need some way of snapshotting it, OR you can use the source directory as input
proteusguy has joined #nixos
<avn> ktosiek: I have tool to snapshoting source dir from sftp to git repo. So now I need to promote them as generations, but not as part of "system generations"
<avn> So I need sort of update-non-deterministic-stuff script, which can be executed via sudo (as well as rollback script)
newhoggy has joined #nixos
<sphalerite> kiloreux: It changes whenever your <nixpkgs> changes, which is whenever you run nix-channel --update in the default nixos config
<qknight> gchristensen: ok, have to monitor this. thanks for your ideas.
<ktosiek> avn: oh, ok. You can create a profile with only that one application with nix-env -p /path/to/app/profile
<sphalerite> avn: a separate profile? You could use the "default" profile, which is what nix-env as root usually modifies
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 4 new commits to release-17.03: https://git.io/vHxL3
<NixOS_GitHub> nixpkgs/release-17.03 773822d Jan Malakhovski: firefox: rename default.nix -> common.nix...
<NixOS_GitHub> nixpkgs/release-17.03 378d100 Vladimír Čunát: firefoxPackages: refactor to a state "close" to master...
<NixOS_GitHub> nixpkgs/release-17.03 9914a74 Vladimír Čunát: wrapFirefox: fix #25505 gtk3 file dialogs...
NixOS_GitHub has left #nixos []
<avn> ktosiek: yep, I look to nix-channel how it manage "channels" profile.
sitwon has quit [(Ping timeout: 246 seconds)]
<ktosiek> or you can use something like nix-build -o /opt/app/vX && ln -f /opt/app/vX /opt/app/current
sitwon has joined #nixos
<avn> something likewise, yes. Just want to {re,ab}use existing tools ;)
MoreTea has quit [(Ping timeout: 255 seconds)]
sigmundv has quit [(Disconnected by services)]
sigmundv_ has joined #nixos
vaibhavsagar has joined #nixos
vaibhavsagar has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
roconnor has joined #nixos
mkoenig has joined #nixos
k2s has joined #nixos
MercurialAlchemi has joined #nixos
k2s has quit [(Ping timeout: 240 seconds)]
peti_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vHxYS
<NixOS_GitHub> nixpkgs/master 72ff321 Graham Christensen: rustc: re-enable static_in_const...
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
peti has quit [(Ping timeout: 246 seconds)]
<FRidh> In one derivation I create symbolic links to another derivation using buildEnv. The builder doesn't have permission to delete one of the symbolic links in the postBuild of the buildEnv. Any solution?
arianvp2_ has joined #nixos
<sphalerite> FRidh: maybe the directory is read-only at that point?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 4 new commits to openssl-1.1: https://git.io/vHxOR
<NixOS_GitHub> nixpkgs/openssl-1.1 a314e93 Robin Gloster: Merge remote-tracking branch 'upstream/master' into openssl-1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 c97e352 Robin Gloster: tinc_pre: add patch to fix build with openssl 1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 5eda52e Robin Gloster: pythonPackages.cryptography: 1.8.1 -> 1.9
NixOS_GitHub has left #nixos []
newhoggy has quit [(Remote host closed the connection)]
philipp[m] is now known as pstn
k0001 has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #26620: gnash: init at 0.8.11-2017-03-08 [WIP] (master...gnash) https://git.io/vHx3e
NixOS_GitHub has left #nixos []
newhoggy_ has joined #nixos
arianvp2 has joined #nixos
newhoggy_ has quit [(Ping timeout: 240 seconds)]
arianvp2_ has quit [(Ping timeout: 240 seconds)]
k2s has joined #nixos
snikkers has quit [(Ping timeout: 246 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] guillaumekoenig opened pull request #26621: gtk3: install gtk-launch (master...install-gtk-launch) https://git.io/vHx37
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #26622: aspellWithDicts: create derivation with aspell and selected dictionaries (master...aspell) https://git.io/vHxsW
NixOS_GitHub has left #nixos []
proteusguy has quit [(Ping timeout: 258 seconds)]
<FRidh> sphalerite: yes, only solution I could find was unlink it and build it up myself
<sphalerite> FRidh: couldn't you just make it read-write?
<FRidh> sphalerite: results in yet another operation not permitted
<sphalerite> huh. Is it set immutable or something?
<sphalerite> But that shouldn't be possible, should it...
<sphalerite> Or is it a symlink to another store path?
<sphalerite> Then it would obviously make sense
tmaekawa has joined #nixos
<FRidh> sphalerite: yes, they're all symlinks
<sphalerite> ooooh. Then you could probably work around it by linking in another path that just contains a dummy file
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26624: eq10q: 2.1 -> 2.2 (master...eq10q) https://git.io/vHxG9
NixOS_GitHub has left #nixos []
<sphalerite> so it's forced as a directory in the build result, that way you can remove parts of it
<sphalerite> Certainly not a beautiful solution but I think it should work?
tmaekawa has quit [(Read error: Connection reset by peer)]
<FRidh> well, I just unlink it now and build that /bin myself (see the PR a couple of lines up)
k2s has quit [(Ping timeout: 260 seconds)]
<sphalerite> Oh, that's great, I wanted to use aspell a while back but had issues because of how it works
snikkers has joined #nixos
tmaekawa has joined #nixos
<gchristensen> oh thank goodness, aspell has always been a nightmare for me
tmaekawa has quit [(Client Quit)]
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26626: jackaudio: 1.9.10 -> 1.9.11-RC1 (master...jackaudio) https://git.io/vHxZn
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26627: qtcreator: 4.2.1 -> 4.3.0 (master...upd.qtcreator) https://git.io/vHxZo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #26628: WIP: Fix various setuid/setgid permissions fallout (master...fix/perms-fallout-misc) https://git.io/vHxZ1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26629: zynaddsubfx: 2.5.4 -> 3.0.1 (master...zynaddsubfx) https://git.io/vHxZQ
NixOS_GitHub has left #nixos []
tmaekawa has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26630: x42-plugins: 20161230 -> 20170428 (master...x42-plugins) https://git.io/vHxZ5
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26631: faustCompressors: 1.1.1 -> 1.2 (master...faustCompressors) https://git.io/vHxnl
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jazmit opened pull request #26632: coturn: allow use of ports < 1024 (master...nixpkgs) https://git.io/vHxn4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vHxnz
<NixOS_GitHub> nixpkgs/master c3399e5 Peter Simons: haskell-hastache: don't install the internal mkReadme tool
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHxno
<NixOS_GitHub> nixpkgs/master 9f399c4 Jörg Thalheim: dino: 2017-05-31 -> 2017-06-13
NixOS_GitHub has left #nixos []
<JayVii> is there an issue with firefox in NixOS-17.03? i was somehow downgraded from 53 to 52, despite *NOT* chosing the LTS release
<sphalerite> Anyone around Glasgow: I'm doing a talk on NixOS later this month!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26633: faust: 2.0.a51 -> 2-1-0 (master...faust) https://git.io/vHxnj
NixOS_GitHub has left #nixos []
<JayVii> same happened to another NixOS-user I know
<sphalerite> JayVii: how did you upgrade?
<JayVii> sphalerite: nixos-rebuild switch --upgrade
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vHxcn
<NixOS_GitHub> nixpkgs/staging f714dfb Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
<sphalerite> I don't see any reason why that would downgrade your firefox
<sphalerite> All the recent changes to firefox on the nixos-17.03 branch have been updates
<JayVii> neither do I, hence me asking :D my /etc/nixos/configuration.nix only containes the pkgs.firefox package, not pkgs.firefox-esr
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26634: jalv: 1.4.6 -> 1.6.0 (master...jalv) https://git.io/vHxcB
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26635: lv2bm: git-2015-04-10 -> git-2015-11-29 (master...lv2bm) https://git.io/vHxcu
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26636: atom: 1.17.2 -> 1.18.0 (master...atom_1_18_0) https://git.io/vHxcg
NixOS_GitHub has left #nixos []
<JayVii> i'll try the upgrade-process again with the "reboot" instead of "switch" argument and report back after i rebooted
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26637: sorcer: 1.1.1 -> 1.1.3 (master...sorcer) https://git.io/vHxcK
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26638: ntk: 2014-10-18 -> 2017-04-22 (master...ntk) https://git.io/vHxcX
NixOS_GitHub has left #nixos []
<goibhniu> go! magnetophon go! \o/
pxc has quit [(Ping timeout: 240 seconds)]
<gchristensen> no kidding :o
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26639: qjackctl: 0.4.4 -> 0.4.5 (master...qjackctl) https://git.io/vHxcd
NixOS_GitHub has left #nixos []
peti_ is now known as peti
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26640: qmidinet: 0.4.2 -> 0.4.3 (master...qmidinet) https://git.io/vHxcx
NixOS_GitHub has left #nixos []
<FRidh> just opened the PR page to see my PR of half an hour ago is almost at the second page already...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26641: [staging] curl: 7.54.0 -> 7.54.1 (staging...staging_curl_7_54_1) https://git.io/vHxCI
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26642: tint2: 0.14.5 -> 0.14.6 (master...upd.tint2) https://git.io/vHxCt
NixOS_GitHub has left #nixos []
<gchristensen> E_TOO_MANY_GREAT_CONTRIBUTORS
ilyaigpetrov has joined #nixos
<LnL> :)
eacameron has quit [(Remote host closed the connection)]
pbogdan has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
<LnL> we're almost at 400 now
<FRidh> time to merge a 100 or so again
<domenkozar> peti: any chance you could update haskell pacakges on master/17.03?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26643: Alsa lib, plugins, tools and utils (master...alsa) https://git.io/vHxCd
NixOS_GitHub has left #nixos []
<peti> domenkozar: Sure. I'll switch the haskell-updates branch on Hydra to run test builds before I merge, and if everything comes out okay, then I'll commit.
<domenkozar> thank you! :)
eacameron has quit [(Ping timeout: 240 seconds)]
<gchristensen> nixos-unstable is about to fall off the graph :( https://channels.nix.gsc.io/graph.html
eacameron has joined #nixos
k0001 has joined #nixos
<LnL> the bootstrapTools issue is resolved, so just the nix tests now
<gchristensen> nixpkgs-unstable already _did_ fall off the graph. not sure how to handle the nix test, other than maybe removing it from the run list in nixpkgs
phreedom has quit [(Ping timeout: 268 seconds)]
<LnL> without changes in the nix repo it has to be built with 1.11.9 or doCheck = !stdenv.isDarwin :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26644: gradle: 3.5 -> 4.0 (master...gradle_4_0) https://git.io/vHxW8
NixOS_GitHub has left #nixos []
<magnetophon> FRidh: thanks for the feedback. Do you have an idea how to fix https://github.com/NixOS/nixpkgs/pull/26633#pullrequestreview-44544038 ? I could just put 2.1.0 in the version and then hardcode 2-1-0 in the rev, but that's not so nice...
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
<LnL> I think nix parses that correctly
<a123123123[m]> Hi! Does anyone combine python development and nix? Specifically, what's the easiest way to `pip install` a package which is not in the nix channel?
<a123123123[m]> Currently I `export PYTHONUSERBASE=$(pwd)/.pip` , and do `pip install --user`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26645: kotlin: 1.1.2 -> 1.1.2-5 (master...kotlin_1_1_2_5) https://git.io/vHxWg
NixOS_GitHub has left #nixos []
<goibhniu> hi a123123123[m]: you can also use virtualenv
<LnL> I use a combination of custom expressions and some virtualenv hacks for annoying packages
arianvp2 has quit [(Quit: arianvp2)]
<FRidh> magnetophon: perhaps builtins.replaceStrings to replace . with - ?
<goibhniu> if you use virtualenv, beware that python c-modules will break when you update your environment
<a123123123[m]> goibhniu: sure, but with virtualenv there is little point to use nix
<a123123123[m]> (well I have to use nix-shell since I'm on NixOS)
<LnL> FRidh: builtins.parseDrvName "foo-2-1-1" # { name = "foo"; version = "2-1-1"; }
iyzsong has joined #nixos
<goibhniu> a123123123[m]: you can still get all the compiled python modules in nixpkgs ... and any other system libraries your project requires
<FRidh> LnL: magnetophon: so it does function. Question remains whether it is desirable.
<goibhniu> a123123123[m]: otherwise you can try pypi2nix (or similar)
phreedom has joined #nixos
<a123123123[m]> would be cool if Python had Nix integration like Haskell stack does
<FRidh> a123123123[m]: bring it up on the distutils-sig group ;)
arianvp2 has joined #nixos
<magnetophon> FRidh: ah, I just pushed a fix for the other issues you had. I'll update it...
stallion has joined #nixos
eacameron has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26642: tint2: 0.14.5 -> 0.14.6 (master...upd.tint2) https://git.io/vHxCt
NixOS_GitHub has left #nixos []
stallion has quit [(Ping timeout: 255 seconds)]
<JayVii> sphalerite: nope. still version 52. this is really odd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHxl6
<NixOS_GitHub> nixpkgs/master 37bd5d4 Bart Brouns: qmidinet: 0.4.2 -> 0.4.3
<NixOS_GitHub> nixpkgs/master 6e38c9c Frederik Rietdijk: Merge pull request #26640 from magnetophon/qmidinet...
NixOS_GitHub has left #nixos []
<JayVii> i can install v53 from unstable branch with nix-env, though
<JayVii> ut that is more of a workaround, than a solution
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26639: qjackctl: 0.4.4 -> 0.4.5 (master...qjackctl) https://git.io/vHxcd
NixOS_GitHub has left #nixos []
filterfish has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26638: ntk: 2014-10-18 -> 2017-04-22 (master...ntk) https://git.io/vHxcX
NixOS_GitHub has left #nixos []
MoreTea has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHx8k
<NixOS_GitHub> nixpkgs/master 65ce8aa Bart Brouns: lv2bm: git-2015-04-10 -> git-2015-11-29
<NixOS_GitHub> nixpkgs/master 5b7ffb6 Frederik Rietdijk: Merge pull request #26635 from magnetophon/lv2bm...
NixOS_GitHub has left #nixos []
freusque has quit [(Quit: WeeChat 1.7.1)]
tmaekawa has left #nixos []
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHx8m
<NixOS_GitHub> nixpkgs/master d0e6dcc Bart Brouns: jalv: 1.4.6 -> 1.6.0
<NixOS_GitHub> nixpkgs/master ee2dbd6 Frederik Rietdijk: Merge pull request #26634 from magnetophon/jalv...
NixOS_GitHub has left #nixos []
freusque has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
k2s has joined #nixos
bbarker has joined #nixos
seppellll has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26646: Ardour: 5.8 -> 5.10 (master...ardour) https://git.io/vHx4e
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26647: lilv: 0.24.0 -> 0.24.2 (master...lilv) https://git.io/vHx4f
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
freusque has quit [(Quit: WeeChat 1.7.1)]
freusque has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26648: serd: 0.24.0 -> 0.26.0 (master...serd) https://git.io/vHx46
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #26649: clipster: 2017-02-27 -> 1.0.1 (master...clipster) https://git.io/vHx4b
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 246 seconds)]
freusque has quit [(Quit: WeeChat 1.7.1)]
freusque has joined #nixos
freusque has quit [(Client Quit)]
k2s has quit [(Ping timeout: 255 seconds)]
eacameron has quit [(Remote host closed the connection)]
nh2 has joined #nixos
eacameron has joined #nixos
wlhlm has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
freusque has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<wlhlm> Mic92, ericsagnes: Hi, I'm trying to use wireguard with network namespaces, which is currently not possible with the wireguard module in nixpkgs. The problem is that there seems to be no way to just install the kernel modules without having to configure network.wireguard.interfaces.*. Do you know how I could work around that?
<zx2c4> wlhlm: `modprobe wireguard` will insert the kernel module if its been installed
<zx2c4> but Mic92 can prolly help with the nixspecificbits
<wlhlm> zx2c4: There is no package for the wireguard module specifically (only for the cli tools). I think the module is only installed if I add a wireguard interface in the nixos configuration, which I'm trying to avoid since I can't use it with netns that way.
<zx2c4> ahh damn okay
cpennington has joined #nixos
<MoreTea> @wlhlm, you can add kernel.wireguard to boot.extraModulePackages
<MoreTea> see the bottom few lines in nixos/modules/services/networking/wireguard.nix
ixxie has joined #nixos
<wlhlm> MoreTea: ahh, let met try...
<MoreTea> how are you trying to use network namespaces btw?
<MoreTea> sounds like an interesting use case
<MoreTea> Could you not create wireguard interfaces, and bridge them to your private network devices? Not sure if that would be possible
Rotaerk has quit [(Quit: Leaving)]
newhoggy has quit [(Remote host closed the connection)]
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
newhoggy has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
eacameron has joined #nixos
<MoreTea> you want to run docker container, that connect to some VPN?
<zx2c4> MoreTea: the document is a bit longer than that :)
<wlhlm> MoreTea: I want to connect to a VPN, but only certain applications
<zx2c4> wlhlm: let me know how your scripts for this work out
<zx2c4> the namespace separation is indeed quite powerful
<MoreTea> i see, you're only interested in network isolation?
newhoggy has quit [(Ping timeout: 255 seconds)]
ixxie has quit [(Ping timeout: 240 seconds)]
<MoreTea> then a wrapper script that does ip netns exec is indeed sufficient
newhoggy has joined #nixos
orivej has joined #nixos
newhoggy has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26647: lilv: 0.24.0 -> 0.24.2 (master...lilv) https://git.io/vHx4f
NixOS_GitHub has left #nixos []
<FRidh> magnetophon: in the future you may want to combine simple package upgrades in a single PR but with a commit per package.
<FRidh> at least the small packages that aren't used elsewhere
<magnetophon> FRidh: yeah, I thought of that, but wasn't sure what to combine...
newhoggy has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<magnetophon> FRidh: which ones could I have combined in this case? I guess serd and lilv? What else?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ee2dbd6a54 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<FRidh> magnetophon: maybe everything except alsa. Its indeed hard to say.
ZoomZoomZoom has joined #nixos
Zoom__ has joined #nixos
<wlhlm> MoreTea: bascially yes, btw, setting extraModulePackages worked. thx!
newhoggy has quit [(Ping timeout: 260 seconds)]
<MoreTea> cool, would be interested to see what scripts you have come up with to make this work
<unlmtd> how do I disable the 'search lan' entry in resolv.conf ?
newhoggy has joined #nixos
magnetophon1 has quit [(Ping timeout: 240 seconds)]
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] remche opened pull request #26651: Yade: init at 2017.01a (release-17.03...release-17.03) https://git.io/vHxzH
NixOS_GitHub has left #nixos []
tmaekawa has quit [(Client Quit)]
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
newhoggy has joined #nixos
<wlhlm> MoreTea, zx2c4: I'm mostly just compiling the commands listed on the wireguard website. I'm using Mullvad for this - they offer a couple of experimental wireguard endpoints (https://www.mullvad.net/guides/wireguard-and-mullvad-vpn/).
<wlhlm> Here's the script: http://sprunge.us/GjKe (not nixos specific).
nh2 has quit [(Quit: Leaving.)]
newhoggy has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
ryanartecona has joined #nixos
<wlhlm> zx2c4: Before this I've been using openvpn over namespaces and it's a lot more involved (https://schnouki.net/posts/2014/12/12/openvpn-for-a-single-application-on-linux/). wireguard remembering its orignal network namespace makes things a lot simpler. Thanks for that!
newhoggy has joined #nixos
alx741 has quit [(Quit: alx741)]
cpennington has quit [(Ping timeout: 258 seconds)]
ixxie has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
phinxy has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
filterfish has joined #nixos
magnetophon1 has joined #nixos
<MoreTea> cool
data has joined #nixos
data is now known as Guest9977
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
orivej has quit [(Ping timeout: 268 seconds)]
k2s has joined #nixos
<FRidh> anyone successfully used spellchecking in KDE/Plasma?
simukis has joined #nixos
newhoggy has joined #nixos
cpennington has joined #nixos
DrWaste has quit [(Quit: Run away!)]
peacememories has joined #nixos
alx741 has joined #nixos
seanparsons has quit [(Read error: Connection reset by peer)]
seanparsons has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<unlmtd> I need to remove the 'search lan' first entry in resolv.conf, and I cant find anything about this.
FRidh has quit [(Quit: Konversation terminated!)]
erasmas has joined #nixos
<sphalerite> unlmtd: my guess is that it's created by your DHCP client
<ToxicFrog> unlmtd: it seems like networking.search is the right option there, but it defaults to [] -- so check the DHCP client configuration instead
snikkers has quit [(Ping timeout: 268 seconds)]
filterfish_ has joined #nixos
arianvp2 has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
newhoggy_ has joined #nixos
snikkers has joined #nixos
Guest9977 has quit [(Quit: nite nite)]
newhoggy has quit [(Ping timeout: 255 seconds)]
arianvp2 has quit [(Client Quit)]
FRidh has joined #nixos
<unlmtd> ToxicFrog: thanks a lot
newhoggy has joined #nixos
newhoggy_ has quit [(Ping timeout: 240 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Mercuria1Alchemi has joined #nixos
<unlmtd> and sphaterite too :D
<unlmtd> sorry sphalerite
snikkers has quit [(Ping timeout: 240 seconds)]
MoreTea has quit [(Ping timeout: 240 seconds)]
magnetophon1 has quit [(Ping timeout: 240 seconds)]
agjacome has quit [(Quit: leaving)]
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
arianvp2 has joined #nixos
ixxie has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
snikkers has joined #nixos
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ciil opened pull request #26652: ltris: init at 1.0.19 (master...ltris) https://git.io/vHxo8
NixOS_GitHub has left #nixos []
spinus has joined #nixos
ixxie has quit [(Ping timeout: 258 seconds)]
newhoggy has quit [(Ping timeout: 268 seconds)]
newhoggy has joined #nixos
k2s has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] titanous opened pull request #26653: kodiPlugins: fix path for shared object links (master...fix-kodi-plugins) https://git.io/vHxKA
NixOS_GitHub has left #nixos []
FRidh has quit [(Quit: Konversation terminated!)]
newhoggy has quit [(Ping timeout: 268 seconds)]
newhoggy has joined #nixos
FRidh has joined #nixos
Mercuria1Alchemi has quit [(Remote host closed the connection)]
ixxie has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<catern> hey #nixos, is there a description somewhere of the nixpkgs release process?
newhoggy has joined #nixos
<FRidh> or are you referring to how channels are updated?
mudri has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
ertes-w has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
pie_ has joined #nixos
ixxie has quit [(Ping timeout: 240 seconds)]
oahong has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Ping timeout: 246 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
arianvp2 has quit [(Quit: arianvp2)]
ZoomZoomZoom has quit [(Quit: Leaving)]
Zoom__ has quit [(Quit: Leaving)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
peacememories has quit [(Ping timeout: 246 seconds)]
arianvp2 has joined #nixos
newhoggy has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHxMu
<NixOS_GitHub> nixpkgs/master 7d12608 Jörg Thalheim: llvmPackages_3.7: fix libnames output of llvm-config...
NixOS_GitHub has left #nixos []
jensens has quit [(Ping timeout: 260 seconds)]
peacememories has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
newhoggy has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
digitalmentat has joined #nixos
mizu_no_oto has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #26655: pythonPackages.ps_mem: init at 3.9 (master...master3) https://git.io/vHxDh
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste closed pull request #26629: zynaddsubfx: 2.5.4 -> 3.0.1 (master...zynaddsubfx) https://git.io/vHxZQ
NixOS_GitHub has left #nixos []
marsam has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste pushed 2 new commits to master: https://git.io/vHxyO
<NixOS_GitHub> nixpkgs/master 33b0842 Bart Brouns: artyFX: 2015-05-07 -> 1.3
<NixOS_GitHub> nixpkgs/master 4081bff goibhniu: Merge pull request #26625 from magnetophon/artyFX...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste pushed 2 new commits to master: https://git.io/vHxyG
<NixOS_GitHub> nixpkgs/master 082563f Bart Brouns: eq10q: 2.1 -> 2.2
<NixOS_GitHub> nixpkgs/master 49556f0 goibhniu: Merge pull request #26624 from magnetophon/eq10q...
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste closed pull request #26637: sorcer: 1.1.1 -> 1.1.3 (master...sorcer) https://git.io/vHxcK
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste pushed 2 new commits to master: https://git.io/vHxya
<NixOS_GitHub> nixpkgs/master 3ed9546 Bart Brouns: x42-plugins: 20161230 -> 20170428
<NixOS_GitHub> nixpkgs/master 4b7718a goibhniu: Merge pull request #26630 from magnetophon/x42-plugins...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste closed pull request #26631: faustCompressors: 1.1.1 -> 1.2 (master...faustCompressors) https://git.io/vHxnl
NixOS_GitHub has left #nixos []
<magnetophon> goibhniu: thanks! :)
<goibhniu> thank you!
jgertm has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<gchristensen> ok, only one thing is remaining failed on nixos-unstablee
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
<magnetophon> goibhniu: could you have a look at the jack2 PR as well? As far as I'm concerned that's the most important one; I'm getting a bit tired of recompiling all my audio stuff often just because I use jack-git, so I asked the developers at LAC to do a release, and they did! \o/
newhoggy has quit [(Ping timeout: 258 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<goibhniu> magnetophon: ah, but it's only a release candidate, right?
<goibhniu> magnetophon: any idea when they're hoping to do a full release?
k2s has joined #nixos
* goibhniu checked the changelog too, and thought it looked a bit early
newhoggy has joined #nixos
<catern> FRidh: thank you, that looks great!
<catern> admittedly you have disconnected now :(
<magnetophon> goibhniu: I bugged them quite a lot to even get this release. I've been using jack2-git at various versions, and it's been rock solid every time! What 'scared' you in the log?
newhoggy has quit [(Ping timeout: 246 seconds)]
<goibhniu> magnetophon: I guess just "This is a work in progress but the implementation is now stable enough to be tested." ... doesn't sound very confident
newhoggy has joined #nixos
<goibhniu> magnetophon: are other distros using it?
jake_ has joined #nixos
<goibhniu> oh, they haven't had a release in 3 years
<gchristensen> oh
<gchristensen> anyone familiar with the ova test? I think I have a lead, the /nix/store path is setgid 1775/drwxrwxr-t
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26656: sbt: support build scala-native targets (master...sbt-with-scala-native) https://git.io/vHxH1
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 268 seconds)]
k2s has quit [(Ping timeout: 246 seconds)]
<gchristensen> niksnut: ping?
freusque has quit [(Quit: WeeChat 1.7.1)]
<unlmtd> I need to modify /etc/NetworkManager/NetworkManager.conf but I cant find any option. I need to set 'dns=none
newhoggy has joined #nixos
<unlmtd> there is no 'NetworkManager.extraConfig' option
<magnetophon> goibhniu: Where did you get that quote? I don't think other distro's are using it yet.
Tucky has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
ixxie has joined #nixos
mudri has joined #nixos
<goibhniu> magnetophon: https://github.com/jackaudio/jack2 at the end ... although it's not clear to me if that belongs as part of the comment for 1.9.11 ... or if it has something to do with jackdmp
<goibhniu> ah, indeed ... it's unrelated
digitus has joined #nixos
newhoggy has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
* goibhniu wonders if they'll cut an official release in the near future, or leave it at RC1
<magnetophon> goibhniu: This thread: http://jack-audio.10948.n7.nabble.com/Jack-Devel-JACK2-1-9-11-RC1-is-now-tagged-td19490.html seems to suggest that they are confident in the quality, but are waiting for someone to make an win and OSX build. The problem is that that was exactly the reason the previous maintainer didn't do a release for so long
nh2 has joined #nixos
orivej has joined #nixos
<magnetophon> goibhniu: that line is 3 years old: https://github.com/jackaudio/jack2/blame/master/README#L222
seppellll has quit [(Quit: Leaving)]
<goibhniu> right
newhoggy has quit [(Ping timeout: 240 seconds)]
<disasm> unlmtd: the problem is the config only has two options as it stands now: dns=${if cfg.useDnsmasq then "dnsmasq" else "default"}
Wizek__ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
newhoggy has joined #nixos
akamaus has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
<magnetophon> goibhniu: gentoo wants it: https://github.com/gentoo/gentoo/pull/4925
newhoggy has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ixmatus opened pull request #26657: Fixing attribute name mistake: setguid => setgid (master...parnell/fix-wrapper-logic) https://git.io/vHxdS
NixOS_GitHub has left #nixos []
<goibhniu> sorry magnetophon, it's all a bit bleeding edge IMO. I'd be comfortable if they cut a final release, or if a popular audio distro switched to it for a little while.
<magnetophon> goibhniu: OK, fair enough.
<goibhniu> thanks for pushing them to do a release!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rushmorem opened pull request #26658: cockroachdb: beta-20160915 -> v1.0.2 (master...cockroach) https://git.io/vHxFm
NixOS_GitHub has left #nixos []
newhoggy_ has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
FRidh has joined #nixos
freezeboy has joined #nixos
<freezeboy> hello, I am trying to create an overlay for my tests (nixos modules & nixpkgs package), and I think I missed a thing
Tarinaky has joined #nixos
<freezeboy> I created an overlay.nix file, a package which is referenced to in the overlay
<freezeboy> I see this package in nix-env -qa, so it looks ok
<freezeboy> but I can't find the way to get it from the module (I tried adding the package name as a parameter and in the pkgs. set any idea ?
pie_ has quit [(Ping timeout: 260 seconds)]
ambro718 has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
akamaus has quit [(Ping timeout: 260 seconds)]
darlan has joined #nixos
newhoggy has joined #nixos
leat has joined #nixos
pie_ has joined #nixos
darlan has quit [(Client Quit)]
<freezeboy> or any "simple" setup to read of a working overlay (not the mozilla-rust one, I'm still new to nix)
newhoggy has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] alicebob opened pull request #1412: Update docker image (and the nix version in there) (master...docker) https://git.io/vHxba
NixOS_GitHub has left #nixos []
<jophish> Anyone seen this before: Died at /nix/store/lhzc8rir4lk2r15y3x099ymj4xx9kbhj-nix-1.11.9/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/Nix/Utils.pm line 31.
<jophish> Looks as though nix has trouble closing a temporary file
[0x4A6F] has joined #nixos
<jophish> seems to only happen in one session
nckx has quit [(Quit: restarting my GuixSD server)]
newhoggy has joined #nixos
nckx has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 268 seconds)]
newhoggy has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
endformationage has joined #nixos
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
pbogdan has joined #nixos
georges-duperon has quit [(Quit: Leaving)]
wlhlm has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
wlhlm has joined #nixos
evangeline has quit [(Ping timeout: 246 seconds)]
tmaekawa1 has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
evangeline has joined #nixos
cpennington has quit [(Ping timeout: 255 seconds)]
tmaekawa1 has quit [(Client Quit)]
newhoggy has joined #nixos
moet has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
orivej has quit [(Ping timeout: 260 seconds)]
<jophish> Ah, there was no space left on /run/user/1002
newhoggy has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
digitalmentat has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
<freezeboy> is anyone using the overlay feature ? or is there any doc (outside of the manual, because it is not enough for me)
tokudan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vHxhq
<NixOS_GitHub> nixpkgs/master 672d2df Eelco Dolstra: aws-sdk-cpp: Fix credentials test...
<NixOS_GitHub> nixpkgs/master ac84515 Eelco Dolstra: aws-sdk-cpp: 1.0.127 -> 1.0.153
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-17.03: https://git.io/vHxhZ
<NixOS_GitHub> nixpkgs/release-17.03 6d5c142 Eelco Dolstra: aws-sdk-cpp: Fix credentials test...
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to release-17.03: https://git.io/vHxje
<NixOS_GitHub> nixpkgs/release-17.03 64fe500 Peter Simons: vcsh: update to latest Git head, enable test suite, install man page...
<NixOS_GitHub> nixpkgs/release-17.03 fa9303e Peter Simons: vcsh: patch broken parser for $GIT_VERSION_MINOR...
<NixOS_GitHub> nixpkgs/release-17.03 a268ba9 Peter Simons: mr: update to version 1.20170129...
NixOS_GitHub has left #nixos []
marsel has joined #nixos
<jake_> clever: what would the sshd approach be like? that might actually be better if we want to be able to connect more shells to the chroot after the initial one
moet has quit [(Ping timeout: 246 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<clever> jake_: i do have nsenter working fully now, let me commit that
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.03: https://git.io/vHpe7
<NixOS_GitHub> nixpkgs/release-17.03 852827b Peter Simons: perl-Shell-Command: initial version 0.06...
NixOS_GitHub has left #nixos []
ixxie has quit [(Ping timeout: 240 seconds)]
jgertm has joined #nixos
ixxie has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
<ixxie> clever, what would be the best place/way to suggest that with the revamp of the CLI, there should also be a reexamination of default files and standards (default, shell and release.nix)?
<ixxie> also, where is the code for the CLI?
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
<viric> meh, somehow enableGhostscriptFonts does not work in master
<viric> Anyone has any idea what happened?
<viric> Enabling it does not bring the ghostscript fonts
<viric> fc-list | grep ghostscript zero results
<niksnut> gchristensen: pong
FRidh has quit [(Quit: Konversation terminated!)]
<gchristensen> niksnut: I was going to ping you about some ova questions, but I posted them to https://github.com/NixOS/nixpkgs/issues/25901#issuecomment-309067581. second is the firefox build issue I PM'd about. third thing (sorry) is the nix failure in darwin, do you have thoughts on how to fix that? seems tough, not being able to test the darwin nix builder in hydra :P
<niksnut> I'm working on the darwin issue
<LnL> let me know if there's something I can do to help
newhoggy has quit [(Ping timeout: 246 seconds)]
digitalmentat has joined #nixos
<gchristensen> ok, sounds good -- thank you :) _pokes firefox a bit more_
newhoggy has joined #nixos
<LnL> what's the issue with ff?
<avn> Folks, anyone have idea, why `error: path ‘/nix/store/5gc3zsdbx8jnj0i23qn2hc3brfbb02ry-system-units.drv’ is not valid` can happens?
<gchristensen> hydra won't build it
<LnL> only see a failed ff build
<LnL> rust build I mean
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
k0001 has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 255 seconds)]
k0001 has joined #nixos
<LnL> hmm don't even see any build steps, are you sure it's not just in the queue?
<gchristensen> I bumped it to the front of the queue and it has been sitting there for a few hours now
newhoggy has joined #nixos
jbgi has joined #nixos
turion has joined #nixos
<turion> I'm a freshly baked #nixos user now as well. Thanks to everyone who helped me get that far!
<turion> I do have some trouble though. I could correctly set the console keymap, but not the x11 keymap (which makes typing my password on sddm really hard)
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
<LnL> not sure if I can create a filtered jobset for the nixos tests like I do for packages, let me check
<turion> so { services.xserver.layout = "neo"; } apparently doesn't set the keymap to neo?
ris has joined #nixos
taktoa has joined #nixos
phreedom has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
cpennington has quit [(Ping timeout: 240 seconds)]
<taktoa> anyone know how to get nixos to automatically `ssh-add` on login? it Just Works on my slim + xfce + xmonad laptop, but on my sddm + kde + xmonad work laptop I have to manually run ssh-add after every reboot
<taktoa> maybe it's just the gnome keyring?
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
marsel has quit [(Ping timeout: 246 seconds)]
newhoggy_ has joined #nixos
newhoggy has quit [(Read error: No route to host)]
phreedom has joined #nixos
turion has quit [(Ping timeout: 255 seconds)]
pxc1 has joined #nixos
newhoggy has joined #nixos
turion has joined #nixos
stallion has joined #nixos
newhoggy_ has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 255 seconds)]
<turion> (That's me finding out how to configure networkmanager)
<LnL> err... that's was all of nixpkgs :)
<turion> Another strange problem is that when I log in to KDE via sddm, I just have a black screen with a mouse cursor and nothing else
<turion> I just took the freshly created configuration.nix and uncommented the two lines below "# Enable the KDE desktop environment"
newhoggy has quit [(Ping timeout: 240 seconds)]
<sphalerite> taktoa: not quite what you're asking for, but maybe the AddKeysToAgent option for the client would also suit?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 6 new commits to master: https://git.io/vHpkw
<NixOS_GitHub> nixpkgs/master 0bb2f9a Peter Simons: LTS Haskell 8.18
<NixOS_GitHub> nixpkgs/master 46f8242 Peter Simons: hackage2nix: disable broken 'trasa-reflex' package...
<NixOS_GitHub> nixpkgs/master 0335b93 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
<taktoa> sphalerite: when I boot up on xfce and ssh into a box, I don't think it asks for my password (or it uses a GUI prompt at least); when I boot up on KDE I have to manually run `ssh-add`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #26480: generic-builder: Use buildInputs for haskell deps (master...haskell-buildInputs) https://git.io/vHXSS
NixOS_GitHub has left #nixos []
<sphalerite> taktoa: but is there a problem with ssh asking for the password once, but then adding the key to the agent and not requiring it again as long as the agent's still alive?
cpennington has joined #nixos
<taktoa> if I don't do `ssh-add` on the kde machine, it asks for a password every time I run `ssh-add`
newhoggy has joined #nixos
Wizek__ has quit [(Ping timeout: 240 seconds)]
<sphalerite> But if you set the AddKeysToAgent option it should only ask the first time
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan opened pull request #26659: flash: 26.0.0.126 -> 26.0.0.131 (master...flash) https://git.io/vHpIr
NixOS_GitHub has left #nixos []
jonte has joined #nixos
<turion> A general question. On a machine with one user, is it better to install packages as user or as root?
newhoggy has quit [(Ping timeout: 240 seconds)]
<disasm> could always go in your shells startup. For example with zprezto (zsh) there's a module to load a list of identity files. When I open a terminal for the first time after log-in, it prompts for my passphrase on my keys and then never prompts until I reboot.
newhoggy has joined #nixos
<disasm> turion: nixos or just nix?
<turion> disasm, nixos
wrl_ has joined #nixos
<turion> Hmmm, when I look at journalctl, it tells me that "pm.kded: unable to register service to dbus"
<turion> And also "kf5.kded: No X-KDE-DBus-ServiceName found in [20 different paths]"
newhoggy has quit [(Ping timeout: 240 seconds)]
<disasm> turion: I put everything in environment.systemPackages that I know I always want to use, and for project specific stuff, I put the packages in a nix-shell default.nix. I try to keep nix-env with no packages installed as root or as the user.
ixxie has quit [(Quit: Lost terminal)]
<turion> disasm: Ah, sounds good. Also answers my follow-up whether it's better to use nix-env to install packages or just put them in environment.systemPackages or so
freezeboy has quit [(Quit: Konversation terminated!)]
<sphalerite> turion: it is a matter of personal preference
<turion> sphalerite: ok, thanks
<sphalerite> I myself try to keep systemPackages to a minimum, and configure everything for my user. That way I could use my config even on a server where I don't have root access
<disasm> with systemPackages, if your configuration.nix is backed up, it's reproducible. So if your laptop/desktop goes toast, you can buy a new one, copy configuration.nix over and nixos-install.
<disasm> That's my way of viewing it.
<turion> I still don't know what to do with my kde problem (except try xmonad finally)
<sphalerite> But I manage my user environment pretty much declaratively as well, basically just nix-env -f ~/dotfiles -ir to update it
<turion> Oh that's a good viewpoint
<disasm> sphalerite: ooh, that's cool :)
<turion> I hear people are encouraged to upload their config as well
<sphalerite> always useful for sharing ideas :)
<turion> But the display manager must be in the system wide config, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan pushed 1 new commit to master: https://git.io/vHptd
<NixOS_GitHub> nixpkgs/master 39fd944 Charles Strahan: chrome: fix fallout from #26512...
NixOS_GitHub has left #nixos []
<sphalerite> yeah
jonte has quit [(Ping timeout: 246 seconds)]
<disasm> yeah, anything that's a service needs to be system-wide
<sphalerite> It's not an absolute requirement really but in the current state of nixos it does need to be systemwide
<sphalerite> well, the display manager has to be systemwide. But you don't necessarily need a display manager
<disasm> you could just run startx manually :)
newhoggy has joined #nixos
<sphalerite> exactly, provided all the necessary permissions stuff is set up
<sphalerite> I don't know what the current state of affairs with that is
<sphalerite> I do know that wayland basically works
Judson has joined #nixos
<turion> Forgive my ignorance, but I'd still have to log in then?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan pushed 1 new commit to master: https://git.io/vHpqT
<NixOS_GitHub> nixpkgs/master dda6daa Charles Strahan: flash: 26.0.0.126 -> 26.0.0.131...
NixOS_GitHub has left #nixos []
<sphalerite> Of course, but you could log in on a tty without having a display maanger to log in on
<disasm> turion: you'd login on the command line and run startx
<Judson> How do I do this correctly: nix-shell -I /home/judson/dev/nixpkgs/pkgs/ -p go_1_8
<turion> Oh, I do startx when I'm already logged in..?
<Judson> (I get "undefined variable go_1_8"
<sphalerite> Judson: do you want go_1_8 available or an environment for building it in?
<Judson> Available
<sphalerite> oh right, just saw the -p
<turion> Hmmm, ok... how come it doesn't find the command? I have "services.xserver.enable = true;"
<Judson> Come to think, I might just want to nix-shell the default.nix I'm working with...
<sphalerite> I think nix-shell -I nixpkgs=$HOME/dev/nixpkgs -p go_1_8 should work, but I'm not 100% sure
<sphalerite> yes, that's the best option :)
<Judson> Bah: error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
<sphalerite> But for the sake of covering all the options, nix-shell -p 'with import ~/dev/nixpkgs {}; go_1_8' should definitely work
<Judson> nixpkgs= worked though
<sphalerite> Judson: have you added what you're working on into all-packages.nix?
<sphalerite> In that case you'll want nix-shell ~/dev/nixpkgs -A name_of_thing_youre_working_on
<Judson> Yes
newhoggy has quit [(Ping timeout: 240 seconds)]
jonte has joined #nixos
<Judson> That'll still leave me working in my current directory, right?
<sphalerite> otherwise, nix-shell -E '(import <nixpkgs> {}).callPackage ./default.nix'
<sphalerite> yes
freusque has joined #nixos
<turion> Weird... I don't have startx, but start_kdeinit
<sphalerite> I don't think nixos supports startx/xinit at all
<sphalerite> It might work, but it's definitely not a well-trodden track
<turion> sphalerite: But isn't that what you recommended before? Or I somehow misunderstood
<sphalerite> turion: It's how I'd like to see it working, but that's mostly just wishful thinking and "I might take some time to get that working one day", not so much "use this it's great"
<turion> sphalerite: ok I see :) thanks
<turion> I'm wondering, if I want to use KDE, are there other packages I should definitely install besides just enabling the desktopManager?
<turion> And a meta question: Wasn't there a wiki once where all such useful information was collected?
<sphalerite> Profpatsch: Found this thanks to you, I like it! https://tools.ietf.org/html/draft-thomson-postel-was-wrong-01
mudri has quit [(Ping timeout: 240 seconds)]
<aristid> aanderse: i can
newhoggy has joined #nixos
<aristid> aanderse: i can't decide whether to use zpool import or mount points for my ZFS file system
<sphalerite> turion: The wiki was taken down because it had been locked because of spam issues, and gradually the information in it became obsolete
<sphalerite> see https://github.com/NixOS/nixpkgs/issues/22599 for the heated discussion on the subject :p
<Judson> nix-shell seems like it's caching its env somehow?
<turion> Oh dear
MichaelRaskin has joined #nixos
jlle[m] has quit [(Ping timeout: 240 seconds)]
eqyiel[m] has quit [(Ping timeout: 240 seconds)]
primeos[m] has quit [(Ping timeout: 240 seconds)]
xj9[m] has quit [(Ping timeout: 240 seconds)]
<Judson> I needed to add a dep to default.nix, but I'm not seeing it in the shell
<sphalerite> Judson: did you restart nix-shell?
a123123123[m] has quit [(Ping timeout: 240 seconds)]
fpletz[m] has quit [(Ping timeout: 255 seconds)]
corngood has quit [(Ping timeout: 255 seconds)]
jonte has quit [(Ping timeout: 255 seconds)]
<Judson> Yep. ^D, re-ran nix-shell
<Judson> Nothing installed, and cmake not found
jyp[m] has quit [(Ping timeout: 276 seconds)]
teh[m] has quit [(Ping timeout: 276 seconds)]
raignarok has quit [(Ping timeout: 276 seconds)]
copumpkin has quit [(Ping timeout: 276 seconds)]
<sphalerite> Judson: that shouldn't happen unless you haven't made a material change to the file
<sphalerite> Did you perhaps only add it to the function definition but not to buildInputs?
<sphalerite> nativeBuildInputs*
<Judson> That'
<Judson> That's exactly what I did.
<Judson> Okay
<sphalerite> :D
peacememories has quit [(Quit: Textual IRC Client: www.textualapp.com)]
newhoggy has quit [(Ping timeout: 240 seconds)]
jack[m]1 has quit [(Ping timeout: 240 seconds)]
unlmtd has quit [(Ping timeout: 240 seconds)]
icetan has quit [(Ping timeout: 240 seconds)]
spawnthink[m] has quit [(Ping timeout: 240 seconds)]
DIzFer[m] has quit [(Ping timeout: 240 seconds)]
frio[m] has quit [(Ping timeout: 240 seconds)]
hendrik[m] has quit [(Ping timeout: 255 seconds)]
harlock[m] has quit [(Ping timeout: 255 seconds)]
NickHu has quit [(Ping timeout: 245 seconds)]
peterhoeg has quit [(Ping timeout: 245 seconds)]
sirius[m] has quit [(Ping timeout: 245 seconds)]
scott2 has quit [(Ping timeout: 245 seconds)]
aspiwack[m] has quit [(Ping timeout: 246 seconds)]
<Judson> Thanks.
wmertens[m] has quit [(Ping timeout: 255 seconds)]
tommyangelo[m] has quit [(Ping timeout: 255 seconds)]
TimePath has quit [(Ping timeout: 255 seconds)]
admin[m] has quit [(Ping timeout: 258 seconds)]
regnat[m] has quit [(Ping timeout: 258 seconds)]
lfont[m] has quit [(Ping timeout: 258 seconds)]
taktoa[m] has quit [(Ping timeout: 258 seconds)]
pstn has quit [(Ping timeout: 258 seconds)]
qrilka[m] has quit [(Ping timeout: 246 seconds)]
Criena[m] has quit [(Ping timeout: 246 seconds)]
danielrf has quit [(Ping timeout: 246 seconds)]
hl has quit [(Ping timeout: 246 seconds)]
spacekitteh[m] has quit [(Ping timeout: 245 seconds)]
offlinehacker[m] has quit [(Ping timeout: 255 seconds)]
reactormonk[m] has quit [(Ping timeout: 255 seconds)]
dtz has quit [(Ping timeout: 255 seconds)]
Dezgeg[m] has quit [(Ping timeout: 264 seconds)]
sargon[m] has quit [(Ping timeout: 264 seconds)]
davidar has quit [(Ping timeout: 264 seconds)]
newhoggy has joined #nixos
Drakonis[m] has quit [(Ping timeout: 276 seconds)]
M-liberdiko has quit [(Ping timeout: 276 seconds)]
indefini has quit [(Ping timeout: 276 seconds)]
WinterFox[m] has quit [(Ping timeout: 276 seconds)]
edef[m] has quit [(Ping timeout: 276 seconds)]
bachp has quit [(Ping timeout: 246 seconds)]
cornu[m] has quit [(Ping timeout: 246 seconds)]
wak-work[m] has quit [(Ping timeout: 258 seconds)]
BurNiinTRee[m] has quit [(Ping timeout: 258 seconds)]
timclassic has quit [(Ping timeout: 258 seconds)]
sudoreboot[m] has quit [(Ping timeout: 258 seconds)]
Ralith has quit [(Ping timeout: 258 seconds)]
herzmeister[m] has quit [(Ping timeout: 258 seconds)]
Oo[m] has quit [(Ping timeout: 255 seconds)]
Exee7uvo[m] has quit [(Ping timeout: 255 seconds)]
bennofs[m] has quit [(Ping timeout: 255 seconds)]
jesper has quit [(Ping timeout: 255 seconds)]
Kallegro[m] has quit [(Ping timeout: 255 seconds)]
mdash has quit [(Ping timeout: 255 seconds)]
jascot[m] has quit [(Ping timeout: 255 seconds)]
sziszi[m] has quit [(Ping timeout: 255 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 255 seconds)]
bendlas has quit [(Ping timeout: 255 seconds)]
ArdaXi[m] has quit [(Ping timeout: 258 seconds)]
musicmatze[m] has quit [(Ping timeout: 258 seconds)]
zimbatm has quit [(Ping timeout: 255 seconds)]
grahamc has quit [(Ping timeout: 276 seconds)]
leat has quit [(Ping timeout: 255 seconds)]
<sphalerite> Whoa, what's with all the timeouts?
<sphalerite> oh right, matrix
newhoggy has quit [(Ping timeout: 240 seconds)]
<gchristensen> goodnight matrix, goodnight moon
<Sonarpulse> hmm?
<gchristensen> goodnight, grahamc
<Sonarpulse> new channel unfixing attempt?
* Sonarpulse is obsessed
<gchristensen> sorry?
<gchristensen> oh hehe
<Sonarpulse> hydra matrix
<Sonarpulse> i thought of
<gchristensen> oh hey we got rustc building on i686, which gets firefox building, which gets the test almost passing
<Sonarpulse> oooo!
* Sonarpulse dances
Itkovian has joined #nixos
<Sonarpulse> looks like more sandboxing stuff?
newhoggy has joined #nixos
<Sonarpulse> thanks
vandenoever has joined #nixos
<clever> gchristensen: that reminds me of my troubles linking firefox on 32bit ages ago
<clever> gchristensen: ld alone needed over 3gig of memory, which was imposible on a 32bit processor
<Sonarpulse> clever: when my cross stuff gets a bit better
<Sonarpulse> instead of doing force i686
<Sonarpulse> we could cross for somee things
<Sonarpulse> I suppose would be bad for caches if someone is developing on 32-bit though
<gchristensen> LnL: wat
oahong has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> so close!
<clever> Sonarpulse: yeah, cross-compile has a lot of issues like that
<clever> Sonarpulse: i cant use cross-compiled arm stuff for a native arm build
newhoggy has joined #nixos
<LnL> just ova and the nix tests on darwin then
oahong has joined #nixos
<Sonarpulse> clever jank substitutor though!
<jake_> clever: is the nsenter fix pushed? i'm excited to see if it works for me
<clever> jake_: done
<jake_> clever: thank you!
<jake_> ls
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
cpennington has quit [(Ping timeout: 240 seconds)]
<clever> jake_: as i suspected, if you dont --fork, the bash can spawn the pid1, and $! will be the real pid of 1, outside the container
<jake_> clever: so if i change the exec bash to exec /init, then will have everything right?
<clever> yeah, that should give you shells and also the boot process
<clever> only issue ive had after that, is stopping the container
<clever> and a few of the mounts are done before the mount namespace
<clever> id need yet another bash script in the chain of scripts on scripts
<jake_> clever: and then how would i start another shell into that container?
<clever> the ./enter script
<clever> which calls nsenter with the right args
<cstrahan> clever: what sort of nsenter stuff are you working on?
<clever> cstrahan: this nix expression will generate a tarball containing a nixos container, and some unshare/nsenter scripts to boot it, and gain shells
newhoggy has quit [(Ping timeout: 240 seconds)]
<clever> so you can launch a nixos container on any linux distro with a compatible kernel, even if the userland tools are missing, and if it lacks systemd on the host
nckx has quit [(Quit: restarting my GuixSD server)]
<clever> it could potentialy even work on android, for example
<clever> the only real requirement of the host right now, is that it has /bin/sh, mount, and chroot
<cstrahan> clever: gotcha -- so the biggest difference from the standard nixos containers impl. is that you're avoiding systemd-nspawn, yeah?
<clever> cstrahan: yep
<jake_> clever: and unshare and nsenter
nckx has joined #nixos
<clever> oh, nsenter does need to be on the host
<clever> but the unshare is after the chroot,
<jake_> clever: oh right
<clever> with a few more tweaks, i could make it staticly compile mount/chroot/nsenter, and then it would be even more isolated
jensens has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.8)]
newhoggy has joined #nixos
turion has quit [(Ping timeout: 240 seconds)]
<cstrahan> clever: so to use what you have right now, I presume you'd run ./boot, but I don't see where /init is started. are you supposed to run exec /init from the shell that was spawned from ./boot? or am I missing something? just curious if I can learn something new :)
cpennington has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
newhoggy has quit [(Ping timeout: 255 seconds)]
zeus_ has joined #nixos
newhoggy has joined #nixos
<gchristensen> CONTRIBUTING.md LICENSE.txt Library README.md bin
<gchristensen> oops.
<gchristensen> that was an out of date joke response to jake_'s ls
<clever> cstrahan: the exec bash needs to be changed to exec /init
<clever> cstrahan: i was having issues with the guest systemd conflicting with the host systemd, and made it manual for now
<cstrahan> gotcha. very interesting stuff.
newhoggy has quit [(Ping timeout: 258 seconds)]
newhoggy has joined #nixos
jake_ has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jbgi has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
jake_ has joined #nixos
Itkovian has joined #nixos
<jake_> clever: i'm having some trouble getting this to work. unshare is failing with invalid argument
sophiag has joined #nixos
sophiag has left #nixos []
oahong has quit [(Ping timeout: 255 seconds)]
<clever> jake_: can you compare the arguments in the script with unshare --help?
newhoggy has quit [(Ping timeout: 255 seconds)]
<clever> jake_: and what channel are you building this against?
newhoggy has joined #nixos
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<catern> what!
<jake_> it seems like i'm unsharing the ipc, mount, pid, uts, and cgroup namespaces, all valid flags
<catern> hey #nixos!
<catern> argh!
<catern> why can't /nix be a symlink?
<catern> does it really have to be a directory?
<MichaelRaskin> catern: you actually want to make it a bind mount, but don't know it is mount --bind, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vHpln
<NixOS_GitHub> nixpkgs/staging 286c36d gnidorah: utillinux: fix "fstrim --all"
<NixOS_GitHub> nixpkgs/staging 2a76b6a Vladimír Čunát: Merge #26540: utillinux: fix "fstrim --all"
NixOS_GitHub has left #nixos []
<jake_> clever: my channel is 17.09pre108299.ec9a23332f
<catern> MichaelRaskin: bind mounts can't be persisted to the filesystem though :(
<MichaelRaskin> You can override the checks that forbid symlink /nix, but that means that is slower
<catern> they have to be set up explicitly
<catern> oh, I see
<catern> oh, that's a really good point
<MichaelRaskin> Because you want to do full resolution in many places
<clever> MichaelRaskin: but in a case like jake_, the / is read-only, so you cant even make an empty /nix to --bind over
<MichaelRaskin> And having like three layers of symlinks before the final store path is normal
<MichaelRaskin> clever: in this case symlink won't help either
<clever> yeah
<clever> you would have to unionfs the entire /
<MichaelRaskin> catern: you have root access but you cannot add a bind mount to fstab or whatever the system uses?
<catern> no, I don't have root access :)
<MichaelRaskin> -o bind works just as well
<catern> but I do have someone sympathetic
newhoggy has quit [(Ping timeout: 255 seconds)]
<clever> catern: it doesnt have to be a symlink either, if you just get somebody to chown an empty /nix/ to your user, the curl install works
<MichaelRaskin> But not sympathetic enough to give you sudo on a script to do the bind mount, I guess
<Sonarpulse> MichaelRaskin: are you saying the no-symlink rule is just to protect users from slowness?
<jake_> clever: taking away everything but -p and -i changes my error to cannot change root filesystem propogation
<LnL> you can also set an env variable if you really want to use a symlink
<Sonarpulse> that's...aweful
<MichaelRaskin> Sonarpulse: it is also to protect users from under-tested code paths
<clever> jake_: oh right, forgot
<clever> jake_: the directory that will become the root, must already be a mount point
newhoggy has joined #nixos
ris has quit [(Ping timeout: 240 seconds)]
<clever> jake_: so you need to mount --bind /foo /foo, to make it into a mount point of itself
<Sonarpulse> MichaelRaskin: should be a warning then, I think
<jake_> clever: gotcha
sitwon has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> Sonarpulse: well, the problems can be very confusing if there are bugs
<Sonarpulse> this would be package bugs, not nix bugs, to be clear?
<MichaelRaskin> I am not sure, may be both
<jake_> clever: it seems like -C was the culprit, i did mount --bind . . and its still not working
<Sonarpulse> hmm
<clever> jake_: the cgroup namespace is probably optional
<clever> jake_: the host might not even have cgroups enabled?
<MichaelRaskin> Every user who can understand the range of possible bugs and make an informed decision can do the complicated manual override
leat has joined #nixos
jonte has joined #nixos
sitwon has joined #nixos
primeos has quit [(Ping timeout: 240 seconds)]
<jake_> clever: that's possible maybe its an older kernel and i think cgroups is newer? still have the other error though
primeos has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vHp8W
<NixOS_GitHub> nixpkgs/staging bfd865d Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
<clever> jake_: you may also need to cd out and back in after the --bind
<jake_> clever: yup!!!!
<calvertvl> niksnut: aws-sdk-cpp is broken for me on the latest master (after ac84515); here's the nix-build output: https://gist.github.com/calvertvl/818eeca528e43e2ec6c1d696390df599
<MichaelRaskin> NIX_IGNORE_SYMLINK_STORE
<jake_> clever: AMAZING! without cgroups it's all good.
<MichaelRaskin> Sonarpulse: manual also says that there are known purity problems
<clever> jake_: :D
<MichaelRaskin> As in, two machines with symlink /nix to different targets cannot use each other as dynamic binary cache via nix-serve, for example
<jake_> clever: so now I can add users to /etc/nix/nix.conf and go from there?
newhoggy has joined #nixos
<jake_> clever: i mean /etc/nixos/configuration.nix. there isn't one riht now
<clever> jake_: yeah, you will want to copy the original configuration.nix from my github
<clever> jake_: and i think nixos-rebuild will make the gc root, but i'm not sure
<clever> jake_: be carefull with gc until you confirm its working right
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> when i ran nix-collect-garbage in my test env, nix deleted every last file in the store
<LnL> ^ nix removes store paths that don't exist in the db
ryanartecona has quit [(Quit: ryanartecona)]
<clever> jake_: oh, maybe the db import isnt being done right
<pikajude> it also removes anything that's not attached to a GC root
<clever> jake_: so the nix is going to self-destruct on any operation
<pikajude> if you don't have any GC roots
<pikajude> everything will go bye-bye
<jake_> clever: ah i will hold off then
<clever> pikajude: i was surprised that it ignored the /proc roots, so its probably LnL's idea
jbgi has joined #nixos
<LnL> I ran into that when creating a nix docker container
Itkovian has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<LnL> when I executed a nix command everything by bash disappeared :)
<clever> LnL: ah, i'm using make-system-tarball right now
<clever> yeah, i see the solution in /home/clever/apps/nixpkgs/nixos/modules/installer/cd-dvd/system-tarball.nix
<LnL> yeah, that's probably the easiest way
newhoggy has joined #nixos
<LnL> unless you use exportReferencesGraph directly
<jake_> clever: one other change that would be nice: the boot script shouldn't be symlinked from the nix store but rather written directly to the root because it's run before chroot
<clever> jake_: pushed the fix
<catern> clever: unfortunately the root filesystem doesn't have enoguh space, but /home/nix/ does
tshaffe1 has quit [(Quit: WeeChat 1.8)]
<clever> catern: ah, then you will want either a bind or symlink
<jake_> clever: that's fine as long as it's relative
<clever> jake_: i have noticed that nearly everything in nix uses absolute symlinks, and its even breaking a safety within stage-1-init.sh
<jake_> clever: i had to add config as an argument to configuration.nix to get it to build
newhoggy has quit [(Ping timeout: 258 seconds)]
<clever> jake_: ah, line 1
<jake_> clever: so could we not use a relative symlink just for the boot?
<jake_> clever: that's the only thing that happens before chroot right?
<clever> also, a GC still ate the boot scripts, i need to move them
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
newhoggy has joined #nixos
<clever> jake_: 1 { config, ... }:
<jake_> clever: yeah that's what i did it worked
<clever> i'll need to move the boot scripts so they dont get GC'd
<clever> and they probably belong in configuration.nix, so they are correctly updated
<jake_> clever: why?
<clever> they arent directly depended on by anything
<jake_> clever: ah
<clever> so nix will happily delete them
Itkovian has joined #nixos
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
pxc1 has quit [(Quit: WeeChat 1.8)]
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
ris has joined #nixos
<Sonarpulse> MichaelRaskin: ah ok
newhoggy has joined #nixos
newhoggy_ has quit [(Ping timeout: 258 seconds)]
<sphalerite> catern: do you know about nix-user-chroot? Would that maybe be an option?
<sphalerite> Basically creating a new mount namespace in which /nix is bound to some other path
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jensens has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
<sphalerite> It would be nice if there were a gc command that somehow magically knows which stuff I do actually want to keep even though I didn't attach it to a gc root
<clever> jake_: oh right, and what sphalerite mentioned might have been of use a day ago, lol
<sphalerite> nix-store --gc --telepathically-determine-what-i-want-to-keep
<clever> jake_: nix-user-chroot would give you not, but not nixos
<sphalerite> clever: would it? I don't think that's of any use for running nixos
<sphalerite> right
<jake_> clever: yeah i have something like that working now. it works for nixpkgs
<clever> i think jake just wanted nix, but cant make /nix, so he wanted a chroot, and you might as well have an os in the root
<dash> sphalerite: as it runs gc it stops and asks you "do you remember what
<jake_> clever: yeah exacty
stallion has quit [(Quit: stallion)]
<sphalerite> dash: nah I want it to work it all out by itself
<dash> uses /nix/store/yxzmfqpa4nckpx13vh81fypsr2ail0q6-sqlite-3.17.0 ?"
<dash> if you say no it deletes it
<MichaelRaskin> sphalerite: that would require runtime overhead in normal operation
<sphalerite> MichaelRaskin: I'll accept overhead if it means the computer can work out exactly what I want so I don't have to do it myself :o
<Judson> Hrm. Trying to build cockroach 1.0.2 - their makefile tries to create directories in $GOPATH
<MichaelRaskin> I guess recording open files, including executables running, every minute, and GC-pinning everything used last week would be a good first approximation
<Judson> (and they haven't been go-get-able for some time)
newhoggy has joined #nixos
stallion has joined #nixos
<clever> jake_: the configuration.nix has doubled in size, lol
<jake_> clever: it's absorbed the scripts?
<clever> jake_: yeah
cpennington has quit [(Remote host closed the connection)]
hellrazor has joined #nixos
<sphalerite> Actually what would be quite feasible is having the gc work out what the leaves of the reverse-dependency graph are
<clever> jake_: so now boot and enter are inside the nixos build
<sphalerite> feasible and useful
<sphalerite> I think
stallion_ has joined #nixos
stallion has quit [(Read error: Connection reset by peer)]
<sphalerite> Because that would typically be the shell environments and derivations for software that I build on a regular basis... I think...
<MichaelRaskin> sphalerite: I can write you such a script (nix-store --graph is nice) but then you need to distinguish versions of firefox that differ only in hash
<MichaelRaskin> Or versions of your shell environments, depends on usage patterns
<jake_> clever: okay here's another small issue. it's trying to restore system time with hwclock but /dev/rtc is already in use by the chrome tlstime daemon
<sphalerite> Err, roots of the dependency forest
<sphalerite> "Leaf" doesn't make sense in a non-tree graph, does it
<clever> jake_: yeah, i'm not sure how the nixos containers normaly block that, we need to go thru every service and disable them
<MichaelRaskin> sphalerite: well, in some sense maybe
<MichaelRaskin> I see what you mean, but it is not as useful as you hope
<jake_> clever: disable the host services?
<sphalerite> oh :(
<clever> jake_: the guest ones
newhoggy has quit [(Ping timeout: 255 seconds)]
<sphalerite> Right, what I mean is the nodes in the dependency graph which nothing depends on
<jake_> clever: this is in /init
newhoggy_ has joined #nixos
<sphalerite> the nodes with no incident edges
<sphalerite> source nodes?
<sphalerite> Ugh, I don't work with graphs enough to know the terminology
<MichaelRaskin> Stop changing terms and answer the real question: how do you choose which env version is correct, if the only difference is hashes?
jbgi has quit [(Ping timeout: 255 seconds)]
<clever> jake_: i do notice that /dev in a real container is rather bare
<clever> maybe if we dont bindmount /dev?
<jake_> clever: yeah that seems smart. what is the minimum for /dev
<jake_> clever: also: what is the difference between the "real container" and what we're doing
<sphalerite> MichaelRaskin: I suppose I'd want to keep whatever I can still easily reach, which is a very fuzzy notion I suppose
<clever> jake_: the real container is being launched via systemd-nspawn, which needs systemd on the host
<jake_> clever: ahhh
<jake_> clever: so we're duplicating that withotu systemd
<clever> yep
<jake_> clever: where is that code
<sphalerite> MichaelRaskin: because I'd reach them in such diverse ways, from my nixpkgs checkout (where the currently checked-out branch may vary a lot), through <nixpkgs>, etc.. So I suppose the real answers are still either I organise my stuff better and make sure to have gc roots for all the stuff I'm working on, or telepathy, or I just deal with it :p
<jake_> clever: nspawn takes care of all of it?
<clever> jake_: yeah
<MichaelRaskin> sphalerite: I use nix-build -E
<MichaelRaskin> Top that
<sphalerite> oh yeah, that too occasionally
<clever> jake_: this is a minimal example i have used before: https://github.com/cleverca22/fusenar/blob/master/container.nix#L13
newhoggy_ has quit [(Ping timeout: 255 seconds)]
<sphalerite> I suppose a fairly decent approximation would be to keep the last added derivation with a given name
<sphalerite> wouldn't be helpful for nix-env -p because there the name is just "shell" iirc
<clever> sphalerite: db.sqlite does have timestamps for when a path got added
<sphalerite> clever: yes, that's what gave me the idea
ertes has joined #nixos
<clever> jake_: ah nice, i was going to try just leaving it empty and see what gets auto-created
newhoggy has joined #nixos
* sphalerite still wants telepathy
<MichaelRaskin> sphalerite: readlink /proc/*/fd/* /proc/*/exe /proc/*/cwd | grep '^/' | sort | uniq | grep '^/nix/store' | sed -re 's@(/nix/store/[^/]+)/.*@\1@'
<clever> jake_: looks like it just does stat on each, confirms its a character device, then re-creates it with mknod
<jake_> clever: yeah, so we just need to do this in the boot script
<clever> jake_: this may also stop it from being able to reach /dev/tty1
<clever> jake_: the major/minor are also pretty stable, so that could all be hard-coded
<MichaelRaskin> sphalerite: running on timer, rotating the date with desired frequency and adding the roots is left as an excercise to the reader
<jake_> clever: "major/minor"?
<clever> crw-rw-rw- 1 root root 1, 3 Jun 15 17:48 /dev/null
<clever> jake_: this is a character device with the major number 1, and minor number 3
<jake_> clever: what do those signify?
<clever> the character+1+3 uniquely identifies it as dev null
<clever> the name means nothing to the kernel
jtojnar has quit [(Read error: Connection reset by peer)]
<jake_> clever: oh interesting. is there a reason why we can't read them off the host dev?
<clever> so with "mknod foo c 1 3", you can create a character device, that behaves exactly as /dev/null
<clever> reading them with bash would be ... fun, lol
<clever> but they almost never change
newhoggy has quit [(Ping timeout: 255 seconds)]
<jake_> clever: stat --format="%t %T" /dev/null
<clever> ah
sitwon has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<MichaelRaskin> sphalerite: it is actually not even slow
sitwon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to release-17.03: https://git.io/vHpEb
<NixOS_GitHub> nixpkgs/release-17.03 69380c9 Vladimír Čunát: Merge #26601: thunderbird*: 52.1.1 -> 52.2.0 (security)...
<NixOS_GitHub> nixpkgs/release-17.03 5a9c996 taku0: thunderbird-bin: fixup missing gtk3...
NixOS_GitHub has left #nixos []
<clever> jake_: with an empty /dev, something (probably systemd-udev) auto-made everything
Itkovian has joined #nixos
jonte has quit [(Ping timeout: 255 seconds)]
<clever> jake_: let me try with a minimal one
<jake_> clever: okay. what are we trying to find? also, we need to copy the permissions of the originals
<clever> jake_: every single one is 666 on my machine
<jake_> clever: ah yes
newhoggy has quit [(Ping timeout: 240 seconds)]
<jake_> clever: im playing with mknod and it won't let me read from sudo mknod fakenull c 1 3
<clever> and if you try to read from the real null?
<jake_> it works
<jake_> just exits 0
newhoggy has joined #nixos
<clever> what does ls -l say on both?
<jake_> crw-rw-rw- 1 root root 1, 3 Jun 16 16:01 /dev/null
<jake_> crw-rw-rw- 1 root root 1, 3 Jun 16 16:49 fakenull
<clever> and what mount flags is the current fs mounted with?
<jake_> hmm
<jake_> how do i found that out
<clever> just run "mount"
<clever> it prints out the flags for every fs
<jake_> rw,nodev,relatime,commit=600,data=ordered
<jake_> ahh nodev?
<clever> nodev Do not interpret character or block special devices on the file system.
<clever> yep
<clever> that prevents an attacker from mounting a usb stick with a copy of /dev/sda on it
<clever> it ceases to be a special device, so they cant have fun with things
<jake_> clever: hmmmm so where do i found a dev file system where i have write permissions
<clever> 9 mount -t tmpfs tmpfs dev/
<clever> its now a new filesystem, without that option
<clever> android has a similiar thing, every fs that is writable is also nosetuid
<jake_> clever: wait what is?
<clever> so you cant have setuid things persist
<clever> by mounting a tmpfs to the guest dev/ folder, i can bypass the nodev flag
<jake_> if the writable fs is /usr/local, how do i remount it with dev or remount some folder with dev
fnljk has joined #nixos
<jake_> ohhh
<jake_> i got it
newhoggy has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
<jake_> clever: that worked.
rumble has joined #nixos
<clever> jake_: pushed a copy of what i have so far, still testing it
<clever> while this compiles, i'll grab some food upstairs
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
grumble is now known as Guest77353
Guest77353 has quit [(Killed (moon.freenode.net (Nickname regained by services)))]
rumble is now known as grumble
<clever> jake_: and if your wondering how i test, nix-build -A test-guest && ./result/bin/run-host-vm, open a terminal, doit ; cd t; ./boot
<jake_> clever: i'll try it out too. also i don't know if this will be helpful but function dupdev { mknod $2 c $(stat --format="%t %T" $1) && chmod --reference=$1 $2; }
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> jake_: i have made similiar before for --bind stuff
DutchWolfie has quit [(Quit: Konversation terminated!)]
<clever> function f { mount --bind /$1 $1/ ; }
magnetophon1 has joined #nixos
<clever> function dupdev { mknod ./dev/$2 c $(stat --format="%t %T" /dev/$1) && chmod --reference=/dev/$1 ./dev/$2; }
newhoggy_ has quit [(Ping timeout: 240 seconds)]
<jake_> clever: what does pushd do?
<clever> for x in null zero full random urandom tty; do mknod ./dev/$x c $(stat --format="%t %T" /dev/$x) && chmod --reference=/dev/$x ./dev/$x; done
<clever> jake_: pushd will cd, and save the previous dir on a stack
<jake_> clever: right right
<clever> jake_: yeah, if /dev/ is a tmpfs with nodes present, systemd doesnt try to fix it
newhoggy has joined #nixos
<clever> and so, it doesnt make nodes it shouldnt have
<clever> the guest still refuses to quit, lol
<clever> jake_: doing another rewrite of the boot scripts, lol
<jake_> clever: i don't think i can use your test workflow because my nix is installed in a different chroot so i can't run this stuff from my desired host
<clever> ah
<clever> yeah, the run-host-vm needs xorg
<clever> it does have a pure tty mode, but i ran into trouble with text-mode before, because the guest was stealing /dev/tty1
newhoggy has quit [(Ping timeout: 255 seconds)]
<clever> i also initialy had the same hostname on both, so it was nearly imposible to tell which os was giving the login prompt, lol
<jake_> clever: willthis work for /dev/net/tun also?
<jake_> clever: for x in null zero full random urandom tty; do mknod ./dev/$x c $(stat --format="%t %T" /dev/$x) && chmod --reference=/dev/$x ./dev/$x; done
<jake_> clever: oops wrong one
<clever> need to mkdir -pv $(dirname ./dev/$x) first i think
<jake_> clever: ah you beat me to it
<jake_> clever: what does the v do
<clever> verbose
<clever> i -v all of the commands in the cp/mv/ln/rm/mkdir family out of habbit
Filystyn has quit [(Read error: Connection reset by peer)]
<clever> for things like ln, it reminds you which way the symlink goes, so you can spot mistakes faster
<clever> and for unpredictable tools like cp and mv, it shows when they are acting up
<clever> for example, "cp foo bar", will behave differently depending on if bar exists or not, and if its a directory or not
newhoggy has joined #nixos
<clever> if bar is a directory, a copy of foo lands in bar/foo
<clever> but if bar isnt a directory (or doesnt exist), foo gets copied directly to bar
mkoenig has quit [(Ping timeout: 240 seconds)]
johnsonav has joined #nixos
orivej has quit [(Ping timeout: 255 seconds)]
<jake_> clever: another small issue. perl complains about the locale. what's that about?
mkoenig has joined #nixos
<clever> jake_: it does that a lot, i tend to just ignore it
<Judson> Is there a nicer way to get the unpack phase to unpack to a different directory?
<Judson> Trying to build a go project, and there's weird requirements on the paths involved.
k0001 has quit [(Remote host closed the connection)]
<clever> Judson: have a look at how other go things are built, like ipfs
newhoggy has quit [(Ping timeout: 240 seconds)]
<Judson> Right now I'm doing some cd, mkdir, mv, cd in buildPhase
k0001 has joined #nixos
<Judson> buildGoPackage won't work for this project
newhoggy has joined #nixos
<clever> jake_: pushed more changes, this isolates the mounts more
<clever> Judson: by default, unpackPhase will basicaly just tar -xvf, and then go with whatever the root dir in the tar was
<Judson> So the nice thing to do here would be a postUnpack, right?
<clever> yeah
<clever> and update $sourceRoot and the current dir
<clever> nix stores the root of the source in $sourceRoot
<clever> its just a var pointing to wherever it got unpacked
newhoggy has quit [(Ping timeout: 240 seconds)]
<Judson> Does that need to be an absolute path, or relative to something else?
<clever> by default, i believe its relative
<clever> but it can probably be both
freusque has quit [(Ping timeout: 240 seconds)]
<Judson> Seems like it needs to be absolute
newhoggy has joined #nixos
<Judson> chmod: cannot access 'src/cockroach-v1.0.2-src': No such file or directory
<clever> do you cd in postUnpack?
<jake_> clever: for some reason dev and proc are still in use after killing systemd.
<jake_> clever: i could restart, but is there a way to kill all the processes better?
k0001 has quit [(Remote host closed the connection)]
<clever> jake_: i believe the kernel should kill everything automatically
<clever> jake_: do you see them in "mount" output?
<jake_> clever: i mean without the restart
<jake_> clever: runnign umount tells me they aren't mounted
k0001 has joined #nixos
<clever> jake_: what about "cat /proc/mounts" ?
mellowmaroon has joined #nixos
<jake_> clever: ah they are there
<clever> try umount with the absolute paths?
<mellowmaroon> Is there a way to globally use oraclejdk8 instead of openjdk?
<Judson> clever, I do
arianvp2 has joined #nixos
<clever> Judson: yeah, its relative to whatever directory you left as active
<dash> mellowmaroon: "globally"? use it to do what?
<jake_> clever: still not mounted
<mellowmaroon> dash: so programs that use `java` and `javac` use the oracle package's ones instead of openjdk's
kiloreux has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
<jake_> clever: but its gone from /cat/mounts
<clever> jake_: then its probably not mounted anymore
unlmtd has joined #nixos
<dash> mellowmaroon: you'll need to override their packages probably
<jake_> clever: still won't delete though
<clever> jake_: try doing ls -l /proc/*/root
newhoggy has joined #nixos
<mellowmaroon> dash: Ok. Do you know where I can see an example of that?
<clever> jake_: that will list the root dir of every process, do any stand out?
<dash> mellowmaroon: what program do you want to run?
<jake_> clever: nope
<mellowmaroon> dash: Oh, so I need to do it on a per-program basis? I wanted to customize what the shell sees
<clever> jake_: can you gist the error, the contents of /proc/mounts, and the output of "ls -l /proc/*/{root,ns}" ?
<mellowmaroon> dash: for example, the symlinks to java and javac in the terminal should point to /nix/store/abcd...oraclejdk8/bin/java
<Judson> So, I'm not acutally sure my postUnpack runs...
<clever> Judson: did you modify the unpackPhase?
<Judson> Oh, wait - it's chmoding as part of unpack...
<mellowmaroon> dash: Is there a way to do that?
sdhand has quit [(Excess Flood)]
sdhand has joined #nixos
sdhand is now known as Guest12966
newhoggy has quit [(Ping timeout: 255 seconds)]
<dash> mellowmaroon: oh, then you just want 'nix-env -i oraclejdk8'
newhoggy has joined #nixos
<dash> or whatever the package name is, i forget
<mellowmaroon> dash: I've done that, but I also have openjdk installed
<mellowmaroon> dash: and the problem is, it defaults to openjdk instead of oraclejdk
<clever> and this is why you should use nix-shell, and never install compilers
<clever> just run nix-shell -p oraclejdk8, and dont install either one
<dash> mellowmaroon: ok, so remove openjdk from your environment first
<mellowmaroon> I think I have a better idea now of how it works. Thanks :)
johnsonav has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
johnsonav has joined #nixos
<clever> jake_: oh right, the bash at the top, above the systemd, will be part of the mount namespace
<clever> jake_: check to see if the bash running the main boot script is still running
<jake_> clever: ohhhh
<jake_> clever: how do i tell which bash is that bash
jensens has joined #nixos
<clever> i switched that round, so proc and dev will automaticaly vanish
ryanartecona has joined #nixos
<clever> it will probably have boot in the arguments
stallion_ has quit [(Quit: stallion_)]
<clever> ps aux | grep boot
<jake_> clever: nope
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shak-mar opened pull request #26662: I2p: 0.9.28 -> 0.9.30 (and build wrapper from source) (and for 32bit) (master...i2p-0.9.30-i686) https://git.io/vHprn
NixOS_GitHub has left #nixos []
stallion has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
stallion_ has joined #nixos
<jake_> clever: i'm just gonna restart but im curious what's going on
Guest12966 has quit [(Changing host)]
Guest12966 has joined #nixos
Guest12966 is now known as sdhand
kiloreux has joined #nixos
stallion_ has quit [(Read error: Connection reset by peer)]
stallion_ has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<clever> jake_: next time, check pstree or ps -eH x, and confirm which bash is the parent of systemd
stallion has quit [(Read error: Connection reset by peer)]
<clever> and what mount namespace it has in /proc/<pid>/ns/mnt
<mellowmaroon> dash, clever: Sorry to ask again, but I tried nixpkgs.config.packageOverrides = pkgs: { jdk = pkgs.oraclejdk8; };, shouldn't that use Oracle's as the default java toolchain?
<clever> jake_: then check to see what is still in that namespace after you kill systemd
jake__ has joined #nixos
<clever> mellowmaroon: that will change it for nixos, but not nix-env/nix-build/nix-shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vandenoever opened pull request #26663: musescore: 2.0.3 -> 2.1.0 (master...musescore) https://git.io/vHprA
NixOS_GitHub has left #nixos []
<mellowmaroon> clever: ah ok
<mellowmaroon> clever: would setting it in config.nix change it nix-*?
<clever> env/build/shell obey ~/.config/nixpkgs/config.nix
<clever> yep
newhoggy_ has joined #nixos
<clever> by default, nixpkgs will load that config.nix file
newhoggy has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 240 seconds)]
<mellowmaroon> I see. Thanks
<clever> but nixps will override that, and pass in a reference to nixpkgs.config
<clever> nixos*
jake_ has quit [(Ping timeout: 255 seconds)]
Magnap has joined #nixos
jesper has joined #nixos
jyp[m] has joined #nixos
cornu[m] has joined #nixos
sirius[m] has joined #nixos
aspiwack[m] has joined #nixos
xj9[m] has joined #nixos
bachp has joined #nixos
primeos[m] has joined #nixos
NickHu has joined #nixos
timclassic has joined #nixos
davidar has joined #nixos
hendrik[m] has joined #nixos
M-liberdiko has joined #nixos
Kallegro[m] has joined #nixos
wak-work[m] has joined #nixos
Exee7uvo[m] has joined #nixos
ArdaXi[m] has joined #nixos
Guest43087 has joined #nixos
teh[m] has joined #nixos
Drakonis[m] has joined #nixos
Oo[m] has joined #nixos
sudoreboot[m] has joined #nixos
copumpkin has joined #nixos
hl has joined #nixos
sargon[m] has joined #nixos
herzmeister[m] has joined #nixos
raignarok has joined #nixos
spacekitteh[m] has joined #nixos
edef[m] has joined #nixos
pstn has joined #nixos
bennofs[m] has joined #nixos
harlock[m] has joined #nixos
TimePath has joined #nixos
spawnthink[m] has joined #nixos
dtz has joined #nixos
icetan has joined #nixos
offlinehacker[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
sziszi[m] has joined #nixos
indefini has joined #nixos
Sovereign_Bleak has joined #nixos
WinterFox[m] has joined #nixos
frio[m] has joined #nixos
zimbatm has joined #nixos
musicmatze[m] has joined #nixos
DIzFer[m] has joined #nixos
regnat[m] has joined #nixos
mdash has joined #nixos
scott2 has joined #nixos
Ralith has joined #nixos
bendlas has joined #nixos
reactormonk[m] has joined #nixos
jack[m] has joined #nixos
qrilka[m] has joined #nixos
peterhoeg has joined #nixos
jascot[m] has joined #nixos
wmertens[m] has joined #nixos
Dezgeg[m] has joined #nixos
admin[m] has joined #nixos
tommyangelo[m] has joined #nixos
a123123123[m] has joined #nixos
Criena[m] has joined #nixos
Khorne[m] has joined #nixos
eqyiel[m] has joined #nixos
taktoa[m] has joined #nixos
corngood has joined #nixos
fpletz[m] has joined #nixos
alain[m] has joined #nixos
danielrf has joined #nixos
jlle[m] has joined #nixos
lfont[m] has joined #nixos
<clever> mmmmm, spam
stallion_ has quit [(Quit: stallion_)]
Itkovian has joined #nixos
<vandenoever> glitch in the matrix
arianvp2 has joined #nixos
<clever> :D
newhoggy_ has quit [(Read error: Connection reset by peer)]
hiratara has joined #nixos
newhoggy has joined #nixos
hamishmack has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
hamishmack has joined #nixos
<jake__> clever: i can't find the tarball in result anymore
<mellowmaroon> I think I asked this already, but is there a way to test changes to config.nix?
yenzenz has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
<clever> jake__: oops
<clever> jake__: pushed a fix, nix-build -A tarball
arianvp2 has quit [(Quit: arianvp2)]
Roliga has joined #nixos
<mellowmaroon> I tried `nix-shell config.nix`, but I don't think that's right...
<clever> mellowmaroon: just nix-shell -p jdk
newhoggy has quit [(Ping timeout: 260 seconds)]
arianvp2 has joined #nixos
<mellowmaroon> clever: aha, thanks :)
mellowmaroon has quit [(Quit: Leaving)]
newhoggy has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
tokudan has quit [(Quit: Leaving)]
<jake__> clever: is there a way to make the boot script not rely on absolute paths? i'm having more trouble with this one
<jake__> clever: wait never mind that isn't the problem here
<clever> jake__: which path in it is the issue?
<jake__> clever: i'm getting unshare: failed to execute .//nix/store/jxz57cjqd2lkn4rkm2lxz5a6pg5r95l4-boot1: No such file or directory
<jake__> i still have to find boot in the store
newhoggy has quit [(Ping timeout: 268 seconds)]
<clever> jake__: is the current dir the root of the container?
<clever> oh, i think i see the issue
<clever> g
<clever> when i made boot1, i forgot, its not in the chroot yet
<clever> so the #! is wront
<clever> pushed
<jake__> i can just change the #! to bash right
<jake__> if i don't feel like rebuliding right now
<clever> yeah
<jake__> clever: i got mknod: invalid major device number ‘a’
newhoggy has joined #nixos
<clever> jake__: try adding "set -x" to the start of the script, and then confirm which mknod is the issue
<jake__> clever: also how do i get to the enter script
<clever> currently, you need to cd into the container root, and run ./enter
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
arianvp2 has quit [(Quit: arianvp2)]
<jake__> clever: it is a symlink to ./nix/var/nix/profiles/system/enter but theres
<jake__> clever: another symlink. system is a symlink
vandenoever has quit [(Ping timeout: 255 seconds)]
<clever> oh right, absolute symlinks everywhere
<jake__> clever: and if i find it then that shebang is also bad
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
arianvp2 has joined #nixos
<clever> enter changes less, so i should be able to just cp it
<jake__> clever: oh wait im supposed to chroot first
newhoggy has quit [(Ping timeout: 260 seconds)]
<jake__> clever: this is all my mistake
<clever> nope
<clever> i wasnt thinking of that
<clever> nsenter -r handles the chroot for you
<jake__> clever: oh really?
<clever> yeah
<clever> it copies the root from the target pid
<clever> but i was testing on nixos, so the paths happened to exist on the hos
<clever> t
newhoggy has joined #nixos
<jake__> clever: okay then the path is also bad in enter
yenzenz has quit [(Ping timeout: 240 seconds)]
<jake__> clever: as well as the shebang
<clever> yeah, just added :$PATH
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dda6daa4ff (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> pushed again
<jake__> clever: my nsenter doesn't like -C
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26583: ply: init at v1-beta1(9e810b1) (master...init-ply-package) https://git.io/vHF5L
NixOS_GitHub has left #nixos []
<clever> ah yeah, then i need to delete both of the C's
<clever> done
yenzenz has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
<jake__> clever: okay nixos-rebuild build isn't working.
<clever> what error?
<jake__> clever: also no internet
<clever> it will need a /etc/resolv.conf to make the dns work
newhoggy has joined #nixos
<jake__> clever: error: file ‘nixpkgs/nixos’ was not found in the Nix search path (add it using $NIX_PATH or -I)
<jake__> clever: warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
<clever> need to add a channel with nix-channel --add
<clever> the name should be nixos
<jake__> clever: internet fixed by copying resolv.conf from host
<jake__> clever: i don't know if we want that to happen automatically
simukis has quit [(Quit: simukis)]
<clever> as long as the nameservers dont change, you only have to do it once
<clever> jake__: i think nixos-install handles it by using mount --bind, rather then cp
<jake__> clever: thats smart
<jake__> clever: okay firewall service failed
<clever> the guest shouldnt be messing with the host firewall
<jake__> clever: iptables: No chain/target/match by that name.
<jake__> clever: okay how do i disabale it
<clever> networking.firewall.enable = false;
hiratara has quit [(Quit: ZNC - http://znc.in)]
<clever> pushed those
17SABAJ7P has joined #nixos
07EAA31IF has joined #nixos
<07EAA31IF> [nixpkgs] Mic92 closed pull request #26652: ltris: init at 1.0.19 (master...ltris) https://git.io/vHxo8
07EAA31IF has left #nixos []
<17SABAJ7P> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHpPk
<17SABAJ7P> nixpkgs/master e0c1c51 Simon Lackerbauer: ltris: init at 1.0.19
<17SABAJ7P> nixpkgs/master 61feffb Jörg Thalheim: Merge pull request #26652 from ciil/ltris...
17SABAJ7P has left #nixos []
newhoggy has quit [(Remote host closed the connection)]
<jake__> clever: okay i'm trying to add a nonroot user
spinus has quit [(Ping timeout: 258 seconds)]
<jake__> clever: i added users.extraUsers.jake = { isNormalUser = true; home = "/home/jake"; description = "Jake Waksbaum"; extraGroups = [ "wheel" "networkmanager" ]; };
<jake__> clever: and did nixos-rebuild
hiratara has joined #nixos
<jake__> clever: but users still returns nothing
<clever> no need to set home
<clever> isNormalUser handles home for you
<clever> which flag did you pass to nixos-rebuild?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHpPC
<NixOS_GitHub> nixpkgs/master fc0a4a5 Bart Brouns: clipster: 2017-02-27 -> 1.0.1
<NixOS_GitHub> nixpkgs/master e9c0d5f Jörg Thalheim: Merge pull request #26649 from magnetophon/clipster...
NixOS_GitHub has left #nixos []
<jake__> clever: wait it worked. users just didnt tell me
<clever> yeah, the users command doesnt work on my nixos machine either
<clever> and on gentoo, it spits my username out half a dozen times, and no other user
fnljk has quit [(Disconnected by services)]
fnljk_ has joined #nixos
ambro718 has quit [(Ping timeout: 255 seconds)]
<jake__> clever: everything unmounts itself which is great. is there anyway to take care of chattr- i /var/empty
fnljk has joined #nixos
digitus has quit [(Quit: digitus)]
arianvp2 has quit [(Ping timeout: 268 seconds)]
<clever> jake__: about all i can think of is to make a bash script that does: kill $(cat foo/pid); chattr -i foo/var/empty; rm -rf --one-file-system foo/
<clever> --one-file-system will protect you if a --bind mount is missed
<jake__> clever: as you learned the hard way
<clever> when i missed that, it deleted some state vital to xorg, and i lost the ability to open any new windows
fnljk_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHpXZ
<NixOS_GitHub> nixpkgs/master b192870 Volth: sbt: support build scala-native targets
<NixOS_GitHub> nixpkgs/master b40cda7 Jörg Thalheim: Merge pull request #26656 from volth/sbt-with-scala-native...
NixOS_GitHub has left #nixos []
<jake__> clever: is there a way we could separate configuration.nix into some other file and include that in configuration.nix so that configuration.nix is clean for modification?
<clever> yeah
<clever> i'll do it on this end
<jake__> clever: also, in init i got verbose ouput from mkdir mkdir: created directory ‘./dev/./dev’ mkdir: created directory ‘./dev/./dev/net’
<clever> done the split
<jake__> clever: is that what we want
<clever> may need to strip a dev out of the paths
<clever> are you using your for loop or my mknod list?
<jake__> clever: my loop, but i'll just go with your list
<jake__> clever: so it's a problem with my loop
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHpXS
<NixOS_GitHub> nixpkgs/master d990d61 Tim Steinbach: atom: 1.17.2 -> 1.18.0
<NixOS_GitHub> nixpkgs/master 5b0a370 Jörg Thalheim: Merge pull request #26636 from NeQuissimus/atom_1_18_0...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26645: kotlin: 1.1.2 -> 1.1.2-5 (master...kotlin_1_1_2_5) https://git.io/vHxWg
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHp1Y
<NixOS_GitHub> nixpkgs/master 60183a1 Guillaume Koenig: gtk3: install gtk-launch
<NixOS_GitHub> nixpkgs/master c396360 Jörg Thalheim: Merge pull request #26621 from guillaumekoenig/install-gtk-launch...
NixOS_GitHub has left #nixos []
k0001 has quit [(Ping timeout: 255 seconds)]
<jake__> clever: can boot be made not a symlink?
<jake__> clever: and enter i guess
<jake__> clever: both are still symlinks to the nix store for me
markus1189 has joined #nixos
<clever> 89 cp -v /nix/var/nix/profiles/system/enter /enter
markus1209 has joined #nixos
<clever> enter should be copied
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHp1h
<NixOS_GitHub> nixpkgs/master 6383a54 Bart Brouns: Ardour: 5.8 -> 5.10
<NixOS_GitHub> nixpkgs/master ada9e94 Jörg Thalheim: Merge pull request #26646 from magnetophon/ardour...
NixOS_GitHub has left #nixos []
<clever> boot should probably work when copied, let me patch that
<jake__> clever: it isn't
MP2E has quit [(Remote host closed the connection)]
<jake__> clever: oh maybe enter is after boot is run
<jake__> clever: but for the initial boot, this can't go in the postBootCommands
<clever> i'll tweak the symlink args and see if i can change that
markus1219 has quit [(Ping timeout: 255 seconds)]
markus1199 has quit [(Ping timeout: 240 seconds)]
stallion has joined #nixos
stallion_ has joined #nixos
stallion has quit [(Read error: Connection reset by peer)]
stallion_ has quit [(Read error: Connection reset by peer)]
stallion has joined #nixos
stallion has quit [(Ping timeout: 240 seconds)]
boomshroom has joined #nixos
<boomshroom> Hello, haven't logged in in a while
orivej has joined #nixos
<clever> jake__: and thanks to a surprise ghc build, that tar took over 10 minutes to build, lol
Jackneilll has joined #nixos
Mateon3 has joined #nixos
boj_ has joined #nixos
stallion has joined #nixos
Mateon1 has quit [(Ping timeout: 246 seconds)]
Mateon3 is now known as Mateon1
[0__0] has quit [(Remote host closed the connection)]
<boomshroom> I was just debugging to find out why my command-not-found prompt isn't working. It seems like it should be put into /run/current-system/sw/bin/, but isn't for some reason.
Glenn has joined #nixos
kwork_ has joined #nixos
lambdamu_ has joined #nixos
[0__0] has joined #nixos
DavidEGr1yson has joined #nixos
oleks_ has joined #nixos
[0__0] has quit [(Remote host closed the connection)]
mudri` has joined #nixos
phreedom_ has joined #nixos
octe_ has joined #nixos
bohan_ has joined #nixos
olejorge1b has joined #nixos
jaym has joined #nixos
erasmas has quit [(Quit: leaving)]
[0__0] has joined #nixos
swistak35_ has joined #nixos
spion_ has joined #nixos
<clever> boomshroom: what source are you reading that says it should be there?
epta has joined #nixos
DerGuteMoritz has joined #nixos
<disasm> boomshroom: how'd you install command-not-found?
hke has joined #nixos
obadz has joined #nixos
orbekk has joined #nixos
ncl28 has joined #nixos
<clever> its supposed to be pre-installed on nixos
<boomshroom> disasm: I didn't. It seemed to be there when I first installed NixOS.
eacameron has quit [(Remote host closed the connection)]
<ben> yo which part of nixos is in charge of mounting /run?
<clever> boomshroom: is programs.command-not-found.enable set?
<boomshroom> Also, nix-env -qa takes way too long.
Judson has joined #nixos
acowley_away has joined #nixos
<boomshroom> clever: it wasn't in configuration.nix when I first generated it and I haven't added or removed it since then.
[0x4A6F] has joined #nixos
<clever> boomshroom: it was made optional on april 16th
<clever> the default is not clear
thc202 has quit [(Ping timeout: 240 seconds)]
<boomshroom> clever: I guess the stable version is from before then.
lambdael has quit [(Quit: WeeChat 1.7.1)]
k0001 has joined #nixos
phinxy has quit [(Quit: Leaving)]
Rotaerk has joined #nixos
<clever> jake__: aha, the contents list works better then storeContents
<clever> jake__: pushed
lambdael has joined #nixos
<catern> hey #nixos
<catern> I'm confused
<catern> how does the nix build by NixOS/nix/release.nix, differ from the one build by nixpkgs?
boj_ has quit [(Ping timeout: 260 seconds)]
yenzenz has quit [(Ping timeout: 240 seconds)]