From d761009e3ccdcdd7b150b26f7f35eecf8f2fb59c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Feb 2014 15:24:48 +0100 Subject: [PATCH] Add ~/.nix-profile/sbin to $PATH Fixes #112. --- scripts/nix-profile.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in index 06e7bdb7b..5d682fc51 100644 --- a/scripts/nix-profile.sh.in +++ b/scripts/nix-profile.sh.in @@ -8,7 +8,7 @@ if test -n "$HOME"; then @coreutils@/ln -s "$_NIX_DEF_LINK" "$NIX_LINK" fi - export PATH=$NIX_LINK/bin:$PATH + export PATH=$NIX_LINK/bin:$NIX_LINK/sbin:$PATH # Subscribe the root user to the Nixpkgs channel by default. if [ ! -e $HOME/.nix-channels ]; then