nix-super/tests/nix-profile.sh

11 lines
234 B
Bash
Raw Normal View History

2012-09-14 00:58:14 +03:00
source common.sh
home=$TEST_ROOT/home
rm -rf $home
mkdir -p $home
HOME=$home $SHELL -e -c ". $profiledir/nix.sh"
HOME=$home $SHELL -e -c ". $profiledir/nix.sh" # test idempotency
2012-09-14 00:58:14 +03:00
[ -L $home/.nix-profile ]
2012-09-14 00:58:14 +03:00
[ -e $home/.nix-channels ]