From b2acf4ab974b484baadd38f04b51b1144fed9223 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 10 Jan 2025 09:57:54 +0100 Subject: [PATCH] Clarify cd call in tests/functional/flakes/flakes.sh (cherry picked from commit d9a50c0af2c73d0fb0b890975d9bcb0ff8a31b76) --- tests/functional/flakes/flakes.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/flakes/flakes.sh b/tests/functional/flakes/flakes.sh index 43e740adb..423f0abfe 100755 --- a/tests/functional/flakes/flakes.sh +++ b/tests/functional/flakes/flakes.sh @@ -232,6 +232,7 @@ nix build -o "$TEST_ROOT/result" "git+file://$flake1Dir?ref=HEAD#default" # This may change in the future once git submodule support is refined. # See: https://discourse.nixos.org/t/57783 and #9708. ( + # This `cd` should not be required and is indicative of aforementioned bug. cd "$flake1Dir/.." nix build -o "$TEST_ROOT/result" "git+file:./$(basename "$flake1Dir")" )