1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Merge pull request #11006 from DeterminateSystems/fix-eval-cache-test

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:47:54 +02:00 committed by GitHub
commit b01b60f08c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"