1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00
We didn't backport `nix flake prefetch --out-link`.
This commit is contained in:
Eelco Dolstra 2025-02-24 23:00:07 +01:00 committed by GitHub
parent 91508de315
commit 827f760ad7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,10 +84,10 @@ json=$(nix flake archive --json "$rootFlake" --to "$TEST_ROOT/store2")
[[ $(echo "$json" | jq .inputs.sub0.inputs) = {} ]]
[[ -n $(echo "$json" | jq .path) ]]
nix flake prefetch --out-link "$TEST_ROOT/result" "$rootFlake"
outPath=$(readlink "$TEST_ROOT/result")
#nix flake prefetch --out-link "$TEST_ROOT/result" "$rootFlake"
#outPath=$(readlink "$TEST_ROOT/result")
[ -e "$TEST_ROOT/store2/nix/store/$(basename "$outPath")" ]
#[ -e "$TEST_ROOT/store2/nix/store/$(basename "$outPath")" ]
# Test circular relative path flakes. FIXME: doesn't work at the moment.
if false; then