!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
26 Nov 2025
@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
@juhp:matrix.orgJens Petersennix-daemon may not work in containers for example14:16:11
@dramforever:matrix.orgdramforeveri think nix special-cases root in a few places14:17:13
@dramforever:matrix.orgdramforeverbuild-users-group is one of them, if you're root it defaults to nixbld14:17:38
@joerg:thalheim.ioMic92Yeah in container, root could by-pass the daemon transparently as well if this was ever an issue.14:17:43
@dramforever:matrix.orgdramforeverin general nix kinda assumes the "root is only for admin" paradigm14:17:58
@juhp:matrix.orgJens PetersenI guess I am wishing I had come here a bit earlier, sounds like I may need to tweak my packaging...14:18:51
@dramforever:matrix.orgdramforeverhonestly i was really surprised i heard on "the news" that fedora is adding a nix package, instead of from here 😆14:19:36
@dramforever:matrix.orgdramforeverokay okay, here's a question, before you mess this up14:19:46
@dramforever:matrix.orgdramforeverhow are you adding in the "sandbox shell"?14:19:54
@juhp:matrix.orgJens PetersenBut want to support as many types as possible14:19:56
@juhp:matrix.orgJens Petersen dramforever: right I finally looked up this matrix today.... hehe 14:20:37

Show newer messages


Back to Room ListRoom Version: 6