I have an issue where nix works via SSH, but no via desktop session.

Desktop terminal I end up with:
```
$ env|grep -i NIX_
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/timw/channels/nixpkgs:/nix/var/nix/profiles/per-user/timw/channels
NIX_REMOTE=daemon
```
And I get the warnings below when trying to run nix-shell or nix-build:
warning: Nix search path entry 
'/nix/var/nix/profiles/per-user/timw/channels/nixpkgs' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/timw/channels' 
does not exist, ignoring

In a SSH session, NIX_PATH and NIX_REMOTE aren't set, and nix works
fine. I think this is the same issue as removing NIX_PATH from
/usr/lib/environment.d/nix-daemon.conf would give me a working config.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064563

Title:
  Broken default installation of nix-bin and nix-setup-systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nix/+bug/2064563/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to