1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Clarify cd call in tests/functional/flakes/flakes.sh

(cherry picked from commit d9a50c0af2)
This commit is contained in:
Robert Hensing 2025-01-10 09:57:54 +01:00 committed by Bryan Lai
parent d4f0e8f4e3
commit b2acf4ab97

View file

@ -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")"
)