mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Fix test
We didn't backport `nix flake prefetch --out-link`.
This commit is contained in:
parent
91508de315
commit
827f760ad7
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue