A Nix install first turns a package name into a store path, then fetches and verifies the build output. Shio Labs’ nami does that first step once per nixpkgs release. Clients look up the answer in a signed catalog and fetch the same artifacts from the existing Nix binary cache.
- Projects can pin an exact catalog. The catalog signer vouches for which path a name resolves to, while the cache signer vouches for the artifact at that path.
- Packages still go in
/nix/storebecause their binaries and scripts refer to it directly. An atomic link switch activates a new package profile or rolls it back. - Shio Labs measured 11 ms for local search versus 1.3 s for
nix searchin fresh containers.nix searchevaluates nixpkgs; the test doesn’t compare against other Nix indexes.
If clients resolve the same inputs to the same outputs, moving that work upstream can make their job simpler. The tradeoff is that the catalog becomes a dependency to trust and pin, and clients give up most of Nix’s package overrides.