Watch
0
0
Fork
You've already forked hyperhive
0

hive-priv: fetch the swarm signature from attic before verifying a locally valid closure

This commit is contained in:
atlas 2026-11-08 11:45:20 +01:00
commit c25cf3d48a

View file

@ -2,7 +2,8 @@
# (`nix-store --realise <top> --max-jobs 0`, hive-c0re/src/cache_pull.rs)
# against two file caches: a swarm cache that has the top path and lacks a
# dependency, and the host's own substituter that has the dependency. The cases
# are in ./cache-pull-substitute.sh.
# are in ./cache-pull-substitute.sh, which also runs hive-priv's
# `nix store copy-sigs` step against a path built in a store.
{ pkgs, ... }:
pkgs.runCommand "hyperhive-script-test-cache-pull-substitute"
{
@ -11,6 +12,7 @@ pkgs.runCommand "hyperhive-script-test-cache-pull-substitute"
pkgs.coreutils
pkgs.gnugrep
];
HIVE_TEST_BASH = "${pkgs.bash}/bin/bash";
}
''
${pkgs.bash}/bin/bash ${./cache-pull-substitute.sh}