mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
0c9c7d5d44
for flake errors Closes https://github.com/NixOS/nix/issues/5425
14 lines
258 B
Bash
14 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"
|