blob: 2cc3910ba12d73bbdb3cca54577d08ea8e99300c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
source common.sh
user=$(whoami)
rm -rf $TEST_HOME
mkdir -p $TEST_HOME
USER=$user $SHELL -e -c ". ../scripts/nix-profile.sh"
USER=$user $SHELL -e -c ". ../scripts/nix-profile.sh" # test idempotency
[ -L $TEST_HOME/.nix-profile ]
[ -e $TEST_HOME/.nix-channels ]
|