!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

865 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.183 Servers

Load older messages


SenderMessageTime
26 Nov 2025
@dramforever:matrix.orgdramforever but yeah i don't really understand what the deal with having to touch the internal structure of /nix/var/nix is 13:12:58
@dramforever:matrix.orgdramforeverwell, there's tmpfiles13:13:08
@dramforever:matrix.orgdramforeverbut i don't get the "installation issue"13:13:19
@dramforever:matrix.orgdramforever does fedora need to manually approve every directory under /nix/var/nix? 13:14:35
@juhp:matrix.orgJens Petersen dramforever: well either fedora provides /nix/var/nix/build or it doesn't - that is all (along with db/ gc.lock gcroots/ profiles/ temproots/) 13:14:52
@dramforever:matrix.orgdramforever okay but why does it need to provide those 13:15:28
@juhp:matrix.orgJens Petersennixos does too, no?13:15:47
@dramforever:matrix.orgdramforeverthe nix daemon will happily make one by itself if one doesn't exist13:16:06
@dramforever:matrix.orgdramforeverand also along with current-load, cgroups, profiles, userpool, just to name a few that apparently exists on my system13:16:31
@juhp:matrix.orgJens PetersenI see13:16:45
@juhp:matrix.orgJens PetersenOkay maybe it is needed without nix-daemon then13:17:03
@dramforever:matrix.orgdramforeverno, same with nix not-daemon13:17:24
@juhp:matrix.orgJens PetersenHmm I see13:17:35
@dramforever:matrix.orgdramforevernix is generally happy to start working with absolutely nothing13:17:45
@dramforever:matrix.orgdramforever see: the "diverted store" --store /path/to/some/local/dir 13:18:03
@juhp:matrix.orgJens Petersenokay maybe I will experiment more later then, thanks13:18:12
@dramforever:matrix.orgdramforeverif you ship some store paths to begin with then you should ship the corresponding db13:18:19
@dramforever:matrix.orgdramforevereither as a file or some exported textual format13:18:32
@dramforever:matrix.orgdramforever * either as a sqlite db file or ~~some exported textual format~~ nix-store --dump-db 13:18:59
@dramforever:matrix.orgdramforever * either as a sqlite db file or some exported textual format nix-store --dump-db 13:19:07
@juhp:matrix.orgJens PetersenRight now I need to rebuild the whole nix package to change /nix, so it is a bit expensive to experiment (I believe you of course)13:19:52
@dramforever:matrix.orgdramforever but if you somehow ship just /usr/bin/nix, in general, nix would happily do everything by itself, starting all the way from creating /nix. but in practice users might not like it if installing nix from fedora leaves nix "installed" but in a way where the daemon is not working 13:20:39
@juhp:matrix.orgJens PetersenOkay I can try force removing /nix and seeing what it happens that is easy enough13:21:21
@juhp:matrix.orgJens PetersenAnyway regardless we like to own the relevant directories for rpm packaging :-)13:23:04
@juhp:matrix.orgJens Petersen* Anyway regardless indeed we like to own the relevant directories for rpm packaging :-)13:23:26
@dramforever:matrix.orgdramforever this is fine but going into the details of what exactly in /nix/var/nix is very suspicious 13:23:50
@dramforever:matrix.orgdramforever * this is fine but going into the details of what exactly is in /nix/var/nix is very suspicious 13:23:59
@juhp:matrix.orgJens PetersenOkay13:23:59
@juhp:matrix.orgJens Petersen* Okay and sounds like more directories may show up anyway 🤷‍♂️ from what you said13:24:28
@juhp:matrix.orgJens PetersenSo maybe it is not necessary indeed - also/further currently nixbld owns the fedora /nix/var/nix but seems that is also incorrect...13:26:09

Show newer messages


Back to Room ListRoom Version: 6