!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

414 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.139 Servers

Load older messages


SenderMessageTime
27 Jan 2026
@raitobezarius:matrix.orgraitobezariusit seems there's not enough information in the strace from what i read14:50:21
@raitobezarius:matrix.orgraitobezariusi still see daemon comms14:50:39
@raitobezarius:matrix.orgraitobezariusNIX_REMOTE doesn't seem to be effective14:50:43
@xokdvium:matrix.orgSergei 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:matrix.orgraitobezariuslix does have that14:51:43
@xokdvium:matrix.orgSergei 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
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡Έ I ran it with ^out 14:54:37
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡ΈMaybe the env var didn't get through the sudo call14:58:08
@raitobezarius:matrix.orgraitobezarius sudo NIX_REMOTE=local strace ... or NIX_REMOTE=local sudo -E 14:58:12
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡ΈTried that, but get a different error then: https://gist.github.com/r-vdp/285482dfec28459e0e84f478582b8cca14:58:27
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡ΈSo I don't think that that works, for some reason14:58:37
@raitobezarius:matrix.orgraitobezariusyeah normal14:58:39
@raitobezarius:matrix.orgraitobezariusok14:58:41
@raitobezarius:matrix.orgraitobezariusso14:58:42
@raitobezarius:matrix.orgraitobezarius pass --no-use-cgroups as well 14:59:02
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡ΈAh right, makes sense, it cannot use cgroups without the delegation stuff14:59:34
@raitobezarius:matrix.orgraitobezarius you can with systemd-run 14:59:41
@raitobezarius:matrix.orgraitobezariusbut the invocation is complicated15:00:12
@raitobezarius:matrix.orgraitobezariusso let's keep it simple imho15:00:15
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡Έ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 also15:01:03
@raitobezarius:matrix.orgraitobezariussystemd-run -p Delegate=yes -p DelegateSubgroup=supervisor ...15:01:19
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡ΈIs this better? https://gist.github.com/r-vdp/285482dfec28459e0e84f478582b8cca15:06:18
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡Έ 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
@xokdvium:matrix.orgSergei 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
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡ΈYeah, indeed, because I dropped the dash... I also realised just after pasting the output15:44:49
@xokdvium:matrix.orgSergei 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:matrix.orgraitobezarius Ramses πŸ‡΅πŸ‡Έ fixes were merged 18:17:11
@raitobezarius:matrix.orgraitobezariusplease confirm us this went away18:17:14
@raitobezarius:matrix.orgraitobezarius thank you for flying with Lix today 18:17:26
@rvdp:infosec.exchangeRamses πŸ‡΅πŸ‡ΈGreat, I'll try it out later tonight! 19:40:14

There are no newer messages yet.


Back to Room ListRoom Version: 10