diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-06-14 18:25:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-14 18:25:00 +0200 |
commit | 61a3e1f2e2a368af122b24e929abe05d0d43266f (patch) | |
tree | a39a911a28cb5468741cba3a94d8b8b6436a88c4 /tests | |
parent | 7066d21a0ddb421967980094222c4bc1f5a0f45a (diff) | |
parent | d0cecbe87708bd61548afa51fea78ec927403c5d (diff) |
Merge pull request #4282 from tweag/fix-ca-hash-rewriting
fix the hash rewriting for ca-derivations
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fetchClosure.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fetchClosure.sh b/tests/fetchClosure.sh index a207f647c..21650eb06 100644 --- a/tests/fetchClosure.sh +++ b/tests/fetchClosure.sh @@ -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(.) | .[]') |