* Handle the case where nix-env is a symlink.

svn path=/nixos/trunk/; revision=7162
This commit is contained in:
Eelco Dolstra 2006-11-28 16:59:47 +00:00
parent 362f0f752b
commit 4b3525fa80

View file

@ -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"