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

tests/functional/flakes/relative-paths.sh: Fix build failure in hydraJobs.tests.functional_user

This commit is contained in:
Eelco Dolstra 2024-09-25 16:29:43 +02:00
parent 91e7d493ce
commit f2063255a4

View file

@ -71,7 +71,9 @@ git -C "$rootFlake" add sub2/flake.lock
# Make sure there are no content locks for relative path flakes.
(! grep "$TEST_ROOT" "$subflake2/flake.lock")
(! grep "$NIX_STORE_DIR" "$subflake2/flake.lock")
if ! isTestOnNixOS; then
(! grep "$NIX_STORE_DIR" "$subflake2/flake.lock")
fi
(! grep narHash "$subflake2/flake.lock")
# Test circular relative path flakes. FIXME: doesn't work at the moment.