mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
10 lines
262 B
Bash
10 lines
262 B
Bash
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 ]
|