Binary Cache: Difference between revisions

Fsbof (talk | contribs)
m Removed extra-substituters as not available since 22.05, Added Signing Existing Packages, Added Command Line Options
update nixos version
Line 221: Line 221:
It is also possible to sign all the packages that already exist in the nix store of the machine serving the binary cache to make them immediately available.
It is also possible to sign all the packages that already exist in the nix store of the machine serving the binary cache to make them immediately available.
  <code>$ nix store sign --extra-experimental-features nix-command --all --key-file /var/cache-priv-key.pem</code>
  <code>$ nix store sign --extra-experimental-features nix-command --all --key-file /var/cache-priv-key.pem</code>
Note : As of NixOS 24.05 {{ic|--extra-experimental-features nix-command}} is required for {{ic|store sign}} if this is not in your configuration.nix.
Note : As of NixOS 24.11 {{ic|--extra-experimental-features nix-command}} is required for {{ic|store sign}} if this is not in your configuration.nix.


== Hosted binary cache ==
== Hosted binary cache ==