!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

892 Members
For people hacking on the Nix package manager itself188 Servers

Load older messages


SenderMessageTime
26 Nov 2025
@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
@juhp:matrix.orgJens PetersenI wonder if that was the case in the past?13:26:46
@juhp:matrix.orgJens Petersen* Okay and sounds like more directories may show up there anyway 🤷‍♂️ from what you said13:27:12
@juhp:matrix.orgJens Petersen* So maybe it is not necessary indeed - also/further currently nixbld owns the fedora /nix/var/nix but seems that may also be incorrect for nix-daemon hmm13:49:38
@hexa:lossy.networkhexaunlikely14:03:53
@hexa:lossy.networkhexathe daemon who owns those runs as root14:04:05
@juhp:matrix.orgJens PetersenOkay then maybe something I introduced for non nix-daemon14:12:32
@dramforever:matrix.orgdramforeverstill doesn't really make sense since for non nix-daemon only one user has access to nix14:13:40
@joerg:thalheim.ioMic92Yeah, if you already provide a Fedora package than nix-daemon is the way to go.14:14:16
@juhp:matrix.orgJens PetersenMm okay but nixbld group also works without nix-daemon but maybe that is wrong. Earlier in my personal repo I was suggesting user to own /nix/* but I thought nixbld is better14:15:14

Show newer messages


Back to Room ListRoom Version: 6