Skip to content

Commit

Permalink
tests/functional/flakes/relative-paths.sh: Fix build failure in hydra…
Browse files Browse the repository at this point in the history
…Jobs.tests.functional_user
  • Loading branch information
edolstra committed Sep 25, 2024
1 parent 91e7d49 commit f206325
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/functional/flakes/relative-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f206325

Please sign in to comment.