* Handle the case where nix-env is a symlink.
svn path=/nixos/trunk/; revision=7162
This commit is contained in:
parent
362f0f752b
commit
4b3525fa80
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ export PATH=$PATH
|
|||
export MODULE_DIR=$MODULE_DIR
|
||||
export NIX_CONF_DIR=/nix/etc/nix
|
||||
|
||||
source $(dirname $(type -tp nix-env))/../etc/profile.d/nix.sh
|
||||
source $(dirname $(readlink -f $(type -tp nix-env)))/../etc/profile.d/nix.sh
|
||||
|
||||
alias ll="ls -l"
|
||||
|
||||
|
|
Loading…
Reference in a new issue