Vault is always compiled from source

Using nix on darwin, and on 24.05, the vault package (nixpkgs/pkgs/tools/security/vault/default.nix at babc25a577c3310cce57c72d5bed70f4c3c3843a · NixOS/nixpkgs · GitHub) is always compiled from source every time i update the a flake using it, even though there’s been no changes to the source in months, every other package is normally downloaded from a binary cache except in random cases when there are recent changes, but vault in particular seems to never hit the cache and im not sure if its just missing from the cache or there is a different problem with the derivation

Just guessing - but perhaps that license (Business Source License 1.1) is considered proprietary and so isn’t in the cache?

4 Likes

That’s exactly why. Vault is no longer using a free license, so Hydra will not build it. If you want to avoid this, you can use the vault-bin package, which just downloads a pre-built binary from Hashicorp.

1 Like

that makes sense, i hadn’t considered that option, cleared then, thanks!