Merge pull request #11781 from NixOS/mergify/bp/2.22-maintenance/pr-11775

doc/rl-2.19: add entry for always-allow-substitutes option (backport #11775)
This commit is contained in:
Eelco Dolstra 2024-11-01 16:55:30 +01:00 committed by GitHub
commit 278e02c0ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,3 +75,7 @@
(experimental) can be found by any program that follows the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). (experimental) can be found by any program that follows the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
- A new command `nix store add` has been added. It replaces `nix store add-file` and `nix store add-path` which are now deprecated. - A new command `nix store add` has been added. It replaces `nix store add-file` and `nix store add-path` which are now deprecated.
- A new option [`always-allow-substitutes`](@docroot@/command-ref/conf-file.md#conf-always-allow-substitutes) has been added.
When set to `true`, Nix will always try to substitute a derivation, even if it has the [`allowSubstitutes`]{#adv-attr-allowSubstitutes} attribute set to `false`.