2012-09-13 21:58:14 +00:00
|
|
|
source common.sh
|
|
|
|
|
|
|
|
home=$TEST_ROOT/home
|
|
|
|
rm -rf $home
|
|
|
|
mkdir -p $home
|
|
|
|
HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh"
|
|
|
|
HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh" # test idempotency
|
|
|
|
|
2012-09-14 13:39:48 +00:00
|
|
|
[ -L $home/.nix-profile ]
|
2012-09-13 21:58:14 +00:00
|
|
|
[ -e $home/.nix-channels ]
|