1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 20:46:01 +01:00

Fix trace-ifd test failure in dev shell

Fixes

  error: cannot create symlink '/home/eelco/Dev/nix/tests/functional/flakes/result'; already exists

running the test multiple times in a dev shell.
This commit is contained in:
Eelco Dolstra 2025-05-26 13:56:38 +02:00
parent 047584d03b
commit 5f13d13f78

View file

@ -29,5 +29,5 @@ cat > "$flake1Dir/flake.nix" <<'EOF'
}
EOF
nix build "$flake1Dir#ifd" --option trace-import-from-derivation true 2>&1 \
nix build --no-link "$flake1Dir#ifd" --option trace-import-from-derivation true 2>&1 \
| grepQuiet 'warning: built .* during evaluation due to an import from derivation'