mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
Add option to disable import-from-derivation completely, even if the drv is already realized
This commit is contained in:
parent
121a407eec
commit
93f863be96
3 changed files with 7 additions and 0 deletions
|
|
@ -198,6 +198,9 @@ struct Settings {
|
|||
/* Path to the SSL CA file used */
|
||||
Path caFile;
|
||||
|
||||
/* Whether we allow import-from-derivation */
|
||||
bool enableImportFromDerivation;
|
||||
|
||||
private:
|
||||
SettingsMap settings, overrides;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue