diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-10-01 13:26:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-01 13:26:59 -0500 |
commit | 9cc876fb11dd28081d74c74834e75b05f08af8ef (patch) | |
tree | 9e3314d6b2f8436672a7d8eb817f1b0f67145088 | |
parent | 5b7cfa487e42d0ee198f628a2f2a17bcedc81dc1 (diff) |
nix-profile-daemon: remove cruft
This removes part of the PATH that were being added automatically in multi-user installs:
- $HOME/.nix-profile/lib/kde4/libexec - shouldn't be needed anymore, we are now using kde5
- @localstatedir@/nix/profiles/default/lib/kde4/libexec - same as above
- @localstatedir@/nix/profiles/default - shouldn't ever contain binaries
-rw-r--r-- | scripts/nix-profile-daemon.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-profile-daemon.sh.in b/scripts/nix-profile-daemon.sh.in index 1be9a0755..87d9fe506 100644 --- a/scripts/nix-profile-daemon.sh.in +++ b/scripts/nix-profile-daemon.sh.in @@ -68,4 +68,4 @@ elif [ -e "/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt" ]; then # fi export NIX_PATH="nixpkgs=@localstatedir@/nix/profiles/per-user/root/channels/nixpkgs:@localstatedir@/nix/profiles/per-user/root/channels" -export PATH="$HOME/.nix-profile/bin:$HOME/.nix-profile/lib/kde4/libexec:@localstatedir@/nix/profiles/default/bin:@localstatedir@/nix/profiles/default:@localstatedir@/nix/profiles/default/lib/kde4/libexec:$PATH" +export PATH="$HOME/.nix-profile/bin:@localstatedir@/nix/profiles/default/bin:$PATH" |