mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
11 lines
285 B
Bash
11 lines
285 B
Bash
source common.sh
|
|
|
|
home=$TEST_ROOT/home
|
|
user=$(whoami)
|
|
rm -rf $home
|
|
mkdir -p $home
|
|
HOME=$home USER=$user $SHELL -e -c ". ../scripts/nix-profile.sh"
|
|
HOME=$home USER=$user $SHELL -e -c ". ../scripts/nix-profile.sh" # test idempotency
|
|
|
|
[ -L $home/.nix-profile ]
|
|
[ -e $home/.nix-channels ]
|