Add option to disable import-from-derivation completely, even if the drv is already realized

This commit is contained in:
Shea Levy 2017-03-08 08:46:12 -05:00
parent 121a407eec
commit 93f863be96
3 changed files with 7 additions and 0 deletions

View file

@ -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;