tvix: NIX_REMOTE=auto does not auto-detect daemon
#52
Opened by aspen at
to reproduce:
$(nix-build -A third_party.nix.test_vm)/bin/run-nixos-vm [nixos@nixos:~]$ nix repl E20200829 03:24:36.669873 852 shared.cc:306] error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
- grfn changed the subject of this issue from "tvix: All nix commands inside the test-vm give "ould not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted"" to "tvix: All nix commands inside the test-vm give "could not set permissions on " at 2020-08-29T03·24+00
- grfn changed the subject of this issue from "tvix: All nix commands inside the test-vm give "could not set permissions on " to "tvix: All nix commands inside the test-vm give "could not set permissions on /nix/var/nix/profiles/per-user' to 755: Operation not permitted" at 2020-08-29T03·25+00
- grfn changed the subject of this issue from "tvix: All nix commands inside the test-vm give "could not set permissions on /nix/var/nix/profiles/per-user' to 755: Operation not permitted" to "tvix: All nix commands inside the test-vm give "could not set permissions on '/nix/var/nix/profiles/per-user" at 2020-08-29T03·26+00
looks like this is happening because NIX_REMOTE is unset - setting it to
daemon
makes the issue go away. Not sure if this is an issue with the test vm or an issue with tvix itself.aspen at 2020-08-29T16·48+00
- grfn changed the subject of this issue from "tvix: All nix commands inside the test-vm give "could not set permissions on '/nix/var/nix/profiles/per-user" to "tvix: NIX_REMOTE=auto does not auto-detect daemon" at 2020-08-29T18·00+00
- grfn closed this issue at 2020-08-30T17·48+00
Fixed in https://cl.tvl.fyi/c/depot/+/1889
aspen at 2020-08-30T17·48+00