!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

231 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs48 Servers

Load older messages


SenderMessageTime
13 Sep 2022
@yuki:backalley.clubYuki (they/them) (Old)oh21:43:09
@yuki:backalley.clubYuki (they/them) (Old) Ah inside the build 21:43:15
@ckie:ckie.devckie (they/them)this is kind of extra annoying because i've read the nix sandbox code before21:44:34
@ckie:ckie.devckie (they/them)but it was a while ago21:44:36
@yuki:backalley.clubYuki (they/them) (Old) what's on fd 2? 21:43:50
@ckie:ckie.devckie (they/them)stderr21:44:49
@yuki:backalley.clubYuki (they/them) (Old)actually nvm i just realized21:43:57
@yuki:backalley.clubYuki (they/them) (Old)I forgot fd 0 is stdin, 1 is stdout, and 2 is stderr21:44:06
@ckie:ckie.devckie (they/them)your PATH seems wrong though21:45:31
@ckie:ckie.devckie (they/them)unless that the generic.sh builder21:45:44
@ckie:ckie.devckie (they/them)https://github.com/nixos/nix/blob/51712bf0127e995c94a4b598b045d52cf667dcef/src/libstore/build/local-derivation-goal.cc#L103021:45:44
@yuki:backalley.clubYuki (they/them) (Old)
In reply to@ckie:ckie.dev
unless that the generic.sh builder
It's just pkgs.runCommand
21:45:06
@yuki:backalley.clubYuki (they/them) (Old)so I assume it is generic.sh21:45:12
@ckie:ckie.devckie (they/them) * unless thats the generic.sh builder21:46:11
@ckie:ckie.devckie (they/them)do you have any other builds running in parallel?21:47:18
@yuki:backalley.clubYuki (they/them) (Old) I don't think so 21:46:37
@ckie:ckie.devckie (they/them) id? 21:47:46
@yuki:backalley.clubYuki (they/them) (Old)
~/n/envs % id
uid=1000(yuki) gid=1000(yuki) groups=1000(yuki)
21:47:02
@ckie:ckie.devckie (they/them)no, in the build :P21:48:01
@yuki:backalley.clubYuki (they/them) (Old)oh21:47:11
@yuki:backalley.clubYuki (they/them) (Old)argh21:47:13
@yuki:backalley.clubYuki (they/them) (Old)

anyway, this is ls /home/yuki on openSUSE Tumbleweed

~/n/envs % nix build .
error: builder for '/nix/store/x5zh00pxyl0d0fsc0237l95q8i7srwar-home-access.drv' failed with exit code 2;
       last 1 log lines:
       > ls: cannot access '/home/yuki': No such file or directory
       For full logs, run 'nix log /nix/store/x5zh00pxyl0d0fsc0237l95q8i7srwar-home-access.drv'.
21:47:38
@yuki:backalley.clubYuki (they/them) (Old)
In reply to@yuki:backalley.club

anyway, this is ls /home/yuki on openSUSE Tumbleweed

~/n/envs % nix build .
error: builder for '/nix/store/x5zh00pxyl0d0fsc0237l95q8i7srwar-home-access.drv' failed with exit code 2;
       last 1 log lines:
       > ls: cannot access '/home/yuki': No such file or directory
       For full logs, run 'nix log /nix/store/x5zh00pxyl0d0fsc0237l95q8i7srwar-home-access.drv'.

Same thing on NixOS

[nixos@astolfo:~/home-access]$ nix build
error: builder for '/nix/store/x5zh00pxyl0d0fsc0237l95q8i7srwar-home-access.drv' failed with exit code 2;
       last 1 log lines:
       > ls: cannot access '/home/yuki': No such file or directory
       For full logs, run 'nix log /nix/store/x5zh00pxyl0d0fsc0237l95q8i7srwar-home-access.drv'.

(I made an empty folder /home/yuki on NixOS)

21:48:25
@k0kada:matrix.orgk0kada (he/him)Since the env is the same, I am curious about the user too21:50:23
@yuki:backalley.clubYuki (they/them) (Old)

id on openSUSE Tumbleweed

~/n/envs % nix build
error: builder for '/nix/store/zvsvgcryb7s3w0wiaxrj25id904b4zbr-home-access.drv' failed with exit code 1;
       last 1 log lines:
       > uid=1000(nixbld) gid=100(nixbld) groups=100(nixbld)
       For full logs, run 'nix log /nix/store/zvsvgcryb7s3w0wiaxrj25id904b4zbr-home-access.drv'.
21:49:43
@yuki:backalley.clubYuki (they/them) (Old) I added exit 1 so it just dumps it to nix log 21:50:10
@ckie:ckie.devckie (they/them)heh21:51:37
@yuki:backalley.clubYuki (they/them) (Old)

id on NixOS

[nixos@astolfo:~/home-access]$ nix build
error: builder for '/nix/store/zvsvgcryb7s3w0wiaxrj25id904b4zbr-home-access.drv' failed with exit code 1;
       last 1 log lines:
       > uid=1000(nixbld) gid=100(nixbld) groups=100(nixbld)
       For full logs, run 'nix log /nix/store/zvsvgcryb7s3w0wiaxrj25id904b4zbr-home-access.drv'.
21:50:45
@ckie:ckie.devckie (they/them)same uid as your real user21:51:41
@ckie:ckie.devckie (they/them)smells like a user namespace21:51:53

Show newer messages


Back to Room ListRoom Version: 9