Build it once, pull it everywhere.
Hosted build caches for Nix, Go, Rust, C/C++, and Bazel.
Your machines share Nix store paths and compiler output, so what one builds, the rest download instead of building it again. Public caches are free.
Currently in invite-only beta.
$ snowstead push main --closure ./result Resolving closure for ./result... Found 1284 paths in closure [86/87] acme-web-1.4.0 ok (2310KB) [87/87] acme-api-0.9.2 ok (18422KB) Done: 87 pushed, 1197 skipped, 0 failed
$ go build -trimpath ./... snowstead-go-cache: local_hits=0 remote_hits=3510 misses=1 uploads=0 upload_errors=0 conflicts=0 downloaded_bytes=1487279053 uploaded_bytes=0
$ cargo build --release Finished `release` profile [optimized] target(s) in 41.07s $ sccache --show-stats Cache hits 1251 Cache misses 39
$ bazel build //... INFO: Elapsed time: 21.412s, Critical Path: 3.12s INFO: 2847 processes: 2846 remote cache hit, 1 internal. INFO: Build completed successfully, 2847 total actions
How it works
- 1
Create a cache
Create one in the dashboard, for any mix of Nix, Go, Rust, C/C++, and Bazel. Choose who can read: anyone, or only machines with a token. Nix paths use your cache's signing key.
- 2
Push what you build
Sign in once with snowstead login, or set a token. The CLI uploads only the Nix paths the cache doesn't have yet.
snowstead push main --closure ./result - 3
Pull it everywhere
Add your cache's address and public signing key to your Nix config. Laptops, servers, and CI download what's already built.
substituters = [ "https://acme.snowstead.com/main" ];
What you get
- Nix and compilers, one cache
- Keep Nix store paths, Go compiler output, Rust and C/C++ objects, and Bazel outputs under one cache name. They share visibility and tokens, with separate retention.
- Private caches
- Private reads need a token that can read. Public caches need no token to read. Writing always needs a token, even on public caches.
- Tokens per cache
- Each token reads, or reads and writes, only the caches you pick. Revoke one and the rest keep working.
- Never breaks a build
- If the cache can't be reached, Go, sccache, and Bazel build as usual, and Nix builds what it can't download.
- Checked downloads
- Nix checks your cache's signature, so a damaged path is never used. But no cache can tell whether the build behind an entry was safe: whoever can write decides what goes in. You choose which machines write, and you can revoke a token at any time.
Questions
Do I need to change how I build?
For Nix, add Snowstead as a substituter with its public key, then push with the CLI. For Go 1.24 or later, set GOCACHEPROG to the helper's absolute path and keep using go build and go test. For Rust and C/C++, point sccache at your cache and keep using Cargo, CMake, or Make. For Bazel, add your cache's address to .bazelrc and keep using bazel build and bazel test. Use the same toolchain and flags across machines.
How do my machines read a private cache?
With a token that can read. Nix uses it in its netrc file, the Go helper in SNOWSTEAD_GO_CACHE_TOKEN, sccache in SCCACHE_WEBDAV_TOKEN, and Bazel in an Authorization header. Public reads need no token; writes always do.
Does Snowstead run my builds?
No. Your compilers still run on your machines. The cache stores what they produced, keyed by their own build inputs, so the next build can skip that step. Cache misses and remote failures fall back to local compilation.
What if a token that can write leaks?
Revoke it, then clear what it could have written from the cache's page: each product's tab has its own Clear. Revoking stops new writes; clearing removes what was already written. With a token per person or job, you only revoke the one that leaked.
How long does compiler output stay cached?
Go entries and sccache objects stay for seven days from their first upload, with a 64 MiB limit per entry. Nix paths follow their own retention setting, and pinned paths stay until you unpin them. Bazel outputs have no fixed lifetime: the least recently used go first when the cache needs room. The Go helper's local cache has no automatic eviction, so monitor its disk use.
Can I run it myself?
Yes. The source is available, so you can host it yourself. The hosted service is the same code – we just run it for you.
Stop building the same thing twice.
Sign in →Access is by invitation during beta.