!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

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

Load older messages


SenderMessageTime
2 Mar 2026
@mlyx:matrix.orgmlyx joined the room.00:20:56
@saolof:envs.net@saolof:envs.net removed their profile picture.07:19:50
@saolof:envs.net@saolof:envs.net left the room.07:19:50
@updown:envs.net@updown:envs.net removed their display name updown.09:13:51
@updown:envs.net@updown:envs.net left the room.09:15:37
@xoartox:envs.net@xoartox:envs.net removed their profile picture.10:20:27
@xoartox:envs.net@xoartox:envs.net left the room.10:20:27
@shivangi.sharma:matrix.orgShivangi Sharma joined the room.19:00:51
@wildebeestboomer_shootervalid590:matrix.orgRowan Ingram joined the room.20:37:39
3 Mar 2026
@bonus:bonusplay.plBonus joined the room.01:01:14
@bonus:bonusplay.plBonus Hello, could someone point me in the right direction here: https://github.com/NixOS/nix/pull/15131#issuecomment-3901665950 01:05:48
@eveeifyeve:matrix.orgeveeifyeveIs this for msys2 mingw?02:19:04
@eveeifyeve:matrix.orgeveeifyeveBecause I am happy to look at it, once you have pushed the code, tonight as I am currently in my lunch break at school.02:19:34
@puffnfresh:chat.home.brianmckenna.orgpuffnfresh yeah that's already on master, and I just noticed I posted in the wrong room, was meant for #windows:nixos.org 02:25:41
@sodiboo:gaysex.cloudsodiboo changed their profile picture.19:19:25
@moonburst:moonburst.netMoon Burst joined the room.20:08:02
@aaronchallmba:matrix.orgAaron Hall joined the room.23:42:32
5 Mar 2026
@pveierland:matrix.orgpveierland When using nix eval --eval-store /some/path - will any GC nominally be involved such that GC roots are still important - or would the eval store normally not be GCd? 01:26:39
@mtheil:scs.ems.host@mtheil:scs.ems.host changed their display name from Markus Theil to Markus Theil (SCS).09:34:09
@focu5:rhakotis.xyzfocu5 joined the room.14:17:05
@kintrix:matrix.org@kintrix:matrix.org left the room.17:12:14
@ysndr:matrix.orgysndr

When using a shell with a chroot store, it seems we’re loosing some uid information preventing eg sudo from working properly:

nix shell nixpkgs#hello --store ./test -c sudo whoami
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

I also noticed that using —store inside a chroot shell isn’t working either fwiw and am trying to connect the dots here

17:45:17
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @ysndr:matrix.org

When using a shell with a chroot store, it seems we’re loosing some uid information preventing eg sudo from working properly:

nix shell nixpkgs#hello --store ./test -c sudo whoami
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

I also noticed that using —store inside a chroot shell isn’t working either fwiw and am trying to connect the dots here

Hm worth a chroot store nix sets up a mounts
17:49:24
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @ysndr:matrix.org

When using a shell with a chroot store, it seems we’re loosing some uid information preventing eg sudo from working properly:

nix shell nixpkgs#hello --store ./test -c sudo whoami
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

I also noticed that using —store inside a chroot shell isn’t working either fwiw and am trying to connect the dots here

* Hm worth a chroot store nix sets up a mountns
17:49:31
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) worth -> with 17:49:51
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)The mounts there are quite messed up probably17:50:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I’m no Linux guru though and haven’t looked at that code too closely, so I’m not sure how to go about fixing it. I think there was a fixme about using overlayfs for the relocated store IIRC17:53:00
@ysndr:matrix.orgysndr

Yea it’s user / mount namespace all the way.

At least root seems to not be mapper correctly (sudo is owned by nobody, as opposed to root)

17:57:42
@ysndr:matrix.orgysndr * Yea it’s user / mount namespace all the way.
At least root seems to not be mapped correctly (sudo is owned by nobody, as opposed to root)
17:57:47
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Ah do we not set up a proper uid_map?18:07:34

Show newer messages


Back to Room ListRoom Version: 6