!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
27 Jan 2026
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)NIX_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.orgraitobezarius (DECT: 7248)lix 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 (DECT: 7248) 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.orgraitobezarius (DECT: 7248)yeah normal14:58:39
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)ok14:58:41
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)so14:58:42
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) 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 (DECT: 7248) you can with systemd-run 14:59:41
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)but the invocation is complicated15:00:12
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)so 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.orgraitobezarius (DECT: 7248)systemd-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 (DECT: 7248) Ramses ๐Ÿ‡ต๐Ÿ‡ธ fixes were merged 18:17:11
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)please confirm us this went away18:17:14
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) thank you for flying with Lix today 18:17:26
@rvdp:infosec.exchangeRamses ๐Ÿ‡ต๐Ÿ‡ธGreat, I'll try it out later tonight! 19:40:14
30 Jan 2026
@lotte:chir.rsLotte (it/its)/Cinny (she/her) ฮธฮ”& changed their profile picture.07:54:02
@lillecarl:matrix.orglillecarl changed their profile picture.22:28:10

Show newer messages


Back to Room ListRoom Version: 10