| 27 Jan 2026 |
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 |
Ramses 🇵🇸 | Is this better? https://gist.github.com/r-vdp/285482dfec28459e0e84f478582b8cca | 15:06:18 |
Ramses 🇵🇸 | Just FYI, the original command that raito shared, used nix-build and not nix build, the latter needs ^out, the former doesn't | 15:28:05 |