mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
15 lines
258 B
Bash
15 lines
258 B
Bash
|
source common.sh
|
||
|
|
||
|
clearStore
|
||
|
rm -rf $TEST_HOME/.cache $TEST_HOME/.config $TEST_HOME/.local
|
||
|
|
||
|
cd $TEST_HOME
|
||
|
|
||
|
cat <<EOF > flake.nix
|
||
|
{
|
||
|
outputs = give me an error here;
|
||
|
}
|
||
|
EOF
|
||
|
|
||
|
nix build |& grep $TEST_HOME || fail "Path should point to home, not to the store"
|