!DkNkhjPMwKVMKgmGYw:nixos.org

Nix Installer

76 Members
18 Servers

Load older messages


SenderMessageTime
26 Nov 2025
@joerg:thalheim.ioMic92 Jens Petersen: I can answer the question here, but in general the other matrix channel has more nix core dev reading. 12:36:02
@joerg:thalheim.ioMic92 * Jens Petersen: I can answer the question here, but in general the other matrix channel has more nix core dev members reading. 12:36:15
@juhp:matrix.orgJens PetersenOkay no worries makes sense - let me try that first then, thanks!12:37:01
@joerg:thalheim.ioMic92Just ping me there as well.12:37:18
@juhp:matrix.orgJens Petersen Mic92: my question was just if/why /nix/var/nix/builds shouldn't be setup - it seems the current upstream nix/nixos installer doesn't but determinant and maybe your new experimental one does perhaps? 12:39:28
@juhp:matrix.orgJens Petersen * Mic92: my question was just if/why /nix/var/nix/builds shouldn't be setup - it seems the current upstream nix/nixos installer doesn't but determinant and maybe your new experimental one does perhaps? Though I am sure when it is used 12:40:42
@juhp:matrix.orgJens Petersen(sorry misread "here" for "there")12:41:23
@hexa:lossy.networkhexaimage.png
Download image.png
12:41:40
@hexa:lossy.networkhexabuilds were previously happening below /tmp12:42:01
@hexa:lossy.networkhexabut nix should be defaulting to /nix/var/nix/builds from 2.30.012:42:15
@hexa:lossy.networkhexa(via https://discourse.nixos.org/t/nix-2-30-0-released/66449)12:42:36
@juhp:matrix.orgJens PetersenAhh I see thank you so it is relatively new12:42:39
@joerg:thalheim.ioMic92We strongly recommend this for security because we had several issues related to other processes that might be able to create or take over build temporary directories in /tmp12:43:18
@joerg:thalheim.ioMic92* We strongly recommend thew new build dir for security because we had several issues related to other processes that might be able to create or take over build temporary directories in /tmp12:43:29
@joerg:thalheim.ioMic92It's like having /run being used for many modern services, except that we don't want to use /run because we would likely have builds that won't fit into memory.12:44:27
@juhp:matrix.orgJens PetersenOkay I see thank you! I will try 25.11pre - starting to make sense now - I think I got my answer 🙏12:45:23
@juhp:matrix.orgJens Petersen* Okay I see thank you! I will try 25.11pre - starting to make sense now - I think I got my answer 🙏 (I was looking at 25.05)12:46:50
@juhp:matrix.orgJens Petersen* Okay I see thank you! I will try 25.11pre - starting to make sense now - I think I got my answer 🙏 (I was looking at 25.05) -- anyway I will try the other matrix channel next time12:47:41
@juhp:matrix.orgJens Petersen So actually then for older nix, /nix/var/nix/builds/ is not needed then I guess, right? 12:55:50
@juhp:matrix.orgJens Petersen * So actually then for older nix, /nix/var/nix/builds/ is not needed then I guess, right?
(For Fedora EPEL I am targeting < 2.30)
12:56:28
@hexa:lossy.networkhexait does have security implications, I'll suggest reading through https://lix.systems/blog/2025-06-24-lix-cves/12:58:19
@juhp:matrix.orgJens Petersen (Okay indeed nixos-25.11pre has builds/ dir 👍️) 12:58:43
@joerg:thalheim.ioMic92 Jens Petersen: I would be interested, how it came about that Fedora now started packaging Nix, if you want to tell. 13:32:05
@joerg:thalheim.ioMic92It seems like you put quite a bit of effort into it following the upstream nix history for it.13:32:34
@juhp:matrix.orgJens Petersen Mic92: hahaha - well other distros have nix packaged of course - so I think there was a sense we were missing it and also users seem to want to have it available... I had a user repo for a long time, but the /nix was kind of a blocker - but just recently we got an exception to allow use of /nix by nix in fedora.... Coincidently RPM (C version) just turned 30 years recently 😂 13:37:00
@joerg:thalheim.ioMic92Nix is also not much younger than that.13:37:34
@juhp:matrix.orgJens PetersenBut I am not actually a heavy or experienced nix user - but somehow I stepped because I packaged in a user repo and that was quite popular13:37:39
@juhp:matrix.orgJens Petersen* But I am not actually a heavy or experienced nix user - but somehow I stepped up because I packaged in a user repo and that was quite popular13:37:49
@juhp:matrix.orgJens Petersen* But I am not actually a heavy or experienced nix user - but somehow I stepped up because I packaged it in a user repo and that was quite popular13:38:39
@joerg:thalheim.ioMic92Yeah that's always a bit of a challenge with packaging in other distros. Packagers are often not deeply invested, because otherwise they would likely run NixOS.13:39:00

There are no newer messages yet.


Back to Room ListRoom Version: 9