| 27 Jan 2026 |
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 |
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 |
Sergei Zimmerman (xokdvium) | Yeah, I was going off the issue and that stood out to me since the exit 0 was zero and no actual build happened. | 15:39:51 |
Ramses π΅πΈ | Yeah, indeed, because I dropped the dash... I also realised just after pasting the output | 15:44:49 |
Sergei Zimmerman (xokdvium) | * Yeah, I was going off the issue and that stood out to me since the exit code was zero and no actual build happened. | 15:48:25 |
raitobezarius | Ramses π΅πΈ fixes were merged | 18:17:11 |
raitobezarius | please confirm us this went away | 18:17:14 |
raitobezarius | thank you for flying with Lix today | 18:17:26 |
Ramses π΅πΈ | Great, I'll try it out later tonight! | 19:40:14 |