mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 16:52:27 +00:00
11 lines
248 B
Bash
11 lines
248 B
Bash
source common.sh
|
|
|
|
home=$TEST_ROOT/home
|
|
rm -rf $home
|
|
mkdir -p $home
|
|
HOME=$home $SHELL -e -c ". ../scripts/nix-profile.sh"
|
|
HOME=$home $SHELL -e -c ". ../scripts/nix-profile.sh" # test idempotency
|
|
|
|
[ -L $home/.nix-profile ]
|
|
[ -e $home/.nix-channels ]
|