mic92/hestia-cache

Nix binary cache backed by the GitHub Actions cache (v2 API). Wires a substituter and post-build-hook into nix.conf.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
binaryPath to a pre-built hestia binary (e.g. the result of `nix build`). Takes precedence over `version`. no""
versionHestia release tag to download from GitHub releases (e.g. "v0.1.0-beta.1"), or "latest" to auto-resolve the newest release. The downloaded binary is verified against GitHub's build provenance attestations before it runs. nolatest
github-tokenToken for the attestation API lookup that verifies downloaded release binaries. no${{ github.token }}
listenAddress the substituter HTTP server listens on. Defaults to 127.0.0.1 with a free port picked per invocation, so the action can run more than once in a job without the daemons colliding. no""
socketUnix socket path for the post-build-hook listener. Defaults to a per-invocation path under the runner's temp directory. no""
drain-timeoutMaximum number of seconds the post-job step waits for the final upload (chunking, pack upload, manifest commit). no300
upstream-cache-filterSkip paths signed by an upstream cache (cache.nixos.org by default) instead of caching them. Saves GHA cache quota for projects with big nixpkgs closures. nofalse
upstream-cache-key-namesSpace-separated signing key names treated as upstream caches by `upstream-cache-filter`. no""
no-closureCache built paths only, without their runtime closure (dependencies stay on upstream caches). nofalse
wait-manifest-versionWait up to 60s at daemon startup until the cache manifest has at least this version. Matrix build jobs pass the eval job's `manifest-version` output so the just-uploaded drv closures are visible despite GHA cache lookup lag. no0

no outputs