<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>
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)]
<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
<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
<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>
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
<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
<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 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...
<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…)]
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.
<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 :/
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`
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
<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/).
<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
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!
<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] 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?
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
<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>
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?
<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
<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>
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
<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
<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
<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
<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
<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
<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?