mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +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) = {} ]]
|
[[ $(echo "$json" | jq .inputs.sub0.inputs) = {} ]]
|
||||||
[[ -n $(echo "$json" | jq .path) ]]
|
[[ -n $(echo "$json" | jq .path) ]]
|
||||||
|
|
||||||
nix flake prefetch --out-link "$TEST_ROOT/result" "$rootFlake"
|
#nix flake prefetch --out-link "$TEST_ROOT/result" "$rootFlake"
|
||||||
outPath=$(readlink "$TEST_ROOT/result")
|
#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.
|
# Test circular relative path flakes. FIXME: doesn't work at the moment.
|
||||||
if false; then
|
if false; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue