tvl-depot/tests/nix-profile.sh

11 lines
248 B
Bash
Raw Normal View History

2012-09-13 23:58:14 +02:00
source common.sh
home=$TEST_ROOT/home
rm -rf $home
mkdir -p $home
2014-02-01 15:37:50 +01:00
HOME=$home $SHELL -e -c ". ../scripts/nix-profile.sh"
HOME=$home $SHELL -e -c ". ../scripts/nix-profile.sh" # test idempotency
2012-09-13 23:58:14 +02:00
[ -L $home/.nix-profile ]
2012-09-13 23:58:14 +02:00
[ -e $home/.nix-channels ]