2012-09-13 23:58:14 +02:00
|
|
|
source common.sh
|
|
|
|
|
|
|
|
home=$TEST_ROOT/home
|
2016-04-13 16:43:33 +02:00
|
|
|
user=$(whoami)
|
2012-09-13 23:58:14 +02:00
|
|
|
rm -rf $home
|
|
|
|
mkdir -p $home
|
2016-04-13 16:43:33 +02:00
|
|
|
HOME=$home USER=$user $SHELL -e -c ". ../scripts/nix-profile.sh"
|
|
|
|
HOME=$home USER=$user $SHELL -e -c ". ../scripts/nix-profile.sh" # test idempotency
|
2012-09-13 23:58:14 +02:00
|
|
|
|
2012-09-14 15:39:48 +02:00
|
|
|
[ -L $home/.nix-profile ]
|
2012-09-13 23:58:14 +02:00
|
|
|
[ -e $home/.nix-channels ]
|