forked from lix-project/lix
10 lines
254 B
Bash
10 lines
254 B
Bash
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
|
|
|
|
[ -L $home/.nix-profile ]
|
|
[ -e $home/.nix-channels ]
|