mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Clarify cd call in tests/functional/flakes/flakes.sh
This commit is contained in:
parent
37ac18d1d9
commit
d9a50c0af2
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,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.
|
# This may change in the future once git submodule support is refined.
|
||||||
# See: https://discourse.nixos.org/t/57783 and #9708.
|
# See: https://discourse.nixos.org/t/57783 and #9708.
|
||||||
(
|
(
|
||||||
|
# This `cd` should not be required and is indicative of aforementioned bug.
|
||||||
cd "$flake1Dir/.."
|
cd "$flake1Dir/.."
|
||||||
nix build -o "$TEST_ROOT/result" "git+file:./$(basename "$flake1Dir")"
|
nix build -o "$TEST_ROOT/result" "git+file:./$(basename "$flake1Dir")"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue