From 827f760ad7e12dd006e834045d46645869cd4c74 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 24 Feb 2025 23:00:07 +0100 Subject: [PATCH] Fix test We didn't backport `nix flake prefetch --out-link`. --- tests/functional/flakes/relative-paths.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functional/flakes/relative-paths.sh b/tests/functional/flakes/relative-paths.sh index 3f7ca3f46..9c0e6fd41 100644 --- a/tests/functional/flakes/relative-paths.sh +++ b/tests/functional/flakes/relative-paths.sh @@ -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