| 27 Jan 2026 |
raitobezarius | * NIX_REMOTE=local sudo strace ... nix-build ... | 14:34:17 |
raitobezarius | * NIX_REMOTE=local sudo -E strace ... nix-build ... | 14:34:19 |
Ramses ๐ต๐ธ | Ok, trying that, I shared the --debug output in the issue | 14:36:45 |
Ramses ๐ต๐ธ | strace output also in issue | 14:39:33 |
Ramses ๐ต๐ธ | Ah wait, wrong strace, because of nix build instead of nix-build, one sec | 14:41:31 |
Ramses ๐ต๐ธ | Updated, with the correct command now | 14:45:27 |
raitobezarius | ok thanks | 14:49:22 |
raitobezarius | pennae are looking | 14:49:30 |
raitobezarius | i'm going into a meeting for now | 14:49:35 |
raitobezarius | it seems there's not enough information in the strace from what i read | 14:50:21 |
raitobezarius | i still see daemon comms | 14:50:39 |
raitobezarius | NIX_REMOTE doesn't seem to be effective | 14:50:43 |
Sergei Zimmerman (xokdvium) | In reply to @raitobezarius:matrix.org
NIX_REMOTE=local sudo -E strace ... nix-build ... Shouldnโt this also use the โ^*โ syntax to build the drv outputs or does Lix not have that? | 14:51:32 |
raitobezarius | lix does have that | 14:51:43 |
Sergei Zimmerman (xokdvium) | Yeah then NIX_REMOTE=local sudo strace -fyys9999 nix build /nix/store/pc5v80nx8jivzxhxffm70bs1zh63qvyw-xz-5.8.2.tar.gz.drv doesnโt do the right thing | 14:52:09 |
Ramses ๐ต๐ธ | I ran it with ^out | 14:54:37 |
Ramses ๐ต๐ธ | Maybe the env var didn't get through the sudo call | 14:58:08 |
raitobezarius | sudo NIX_REMOTE=local strace ... or NIX_REMOTE=local sudo -E | 14:58:12 |
Ramses ๐ต๐ธ | Tried that, but get a different error then: https://gist.github.com/r-vdp/285482dfec28459e0e84f478582b8cca | 14:58:27 |
Ramses ๐ต๐ธ | So I don't think that that works, for some reason | 14:58:37 |
raitobezarius | yeah normal | 14:58:39 |
raitobezarius | ok | 14:58:41 |
raitobezarius | so | 14:58:42 |
raitobezarius | pass --no-use-cgroups as well | 14:59:02 |
Ramses ๐ต๐ธ | Ah right, makes sense, it cannot use cgroups without the delegation stuff | 14:59:34 |
raitobezarius | you can with systemd-run | 14:59:41 |
raitobezarius | but the invocation is complicated | 15:00:12 |
raitobezarius | so let's keep it simple imho | 15:00:15 |
Ramses ๐ต๐ธ | Will need to do that, since the auto-allocate-uids doesn't work otherwise, and I don't have a nixbld group, and I think the issue might not reproduce also | 15:01:03 |
raitobezarius | systemd-run -p Delegate=yes -p DelegateSubgroup=supervisor ... | 15:01:19 |