Skip to content

Commit

Permalink
Disable the fetchClosure test for old daemons
Browse files Browse the repository at this point in the history
Broken because of the change introduced by #4282
  • Loading branch information
thufschmitt committed May 24, 2023
1 parent 34e1b46 commit d0cecbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/fetchClosure.sh
Expand Up @@ -5,6 +5,12 @@ enableFeatures "fetch-closure"
clearStore
clearCacheCache

# Old daemons don't properly zero out the self-references when
# calculating the CA hashes, so this breaks `nix store
# make-content-addressed` which expects the client and the daemon to
# compute the same hash
requireDaemonNewerThan "2.16.0pre20230524"

# Initialize binary cache.
nonCaPath=$(nix build --json --file ./dependencies.nix --no-link | jq -r .[].outputs.out)
caPath=$(nix store make-content-addressed --json $nonCaPath | jq -r '.rewrites | map(.) | .[]')
Expand Down

0 comments on commit d0cecbe

Please sign in to comment.