tests/functional/flakes/eval-cache.sh: Don't write a result symlink in the wrong location

This commit is contained in:
Eelco Dolstra 2024-07-01 19:10:41 +02:00
parent 10c9764c27
commit 6600b1c7e0

View File

@ -36,4 +36,4 @@ expect 1 nix build "$flake1Dir#foo.bar" 2>&1 | grepQuiet 'error: breaks'
# Conditional error should not be cached
expect 1 nix build "$flake1Dir#ifd" --option allow-import-from-derivation false 2>&1 \
| grepQuiet 'error: cannot build .* during evaluation because the option '\''allow-import-from-derivation'\'' is disabled'
nix build "$flake1Dir#ifd"
nix build --no-link "$flake1Dir#ifd"