diff options
author | Shea Levy <shea@shealevy.com> | 2017-03-08T13·46-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-03-08T13·46-0500 |
commit | 93f863be9626e5455458abf9e449586270e98163 (patch) | |
tree | dd56f2d5ef593755bed49cbb1609e8b47980b719 /src/libstore/globals.hh | |
parent | 121a407eecd4a176adbfbacf49735b3dfc303e79 (diff) |
Add option to disable import-from-derivation completely, even if the drv is already realized
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 1e6b7c083a62..7a9a9f6c0caa 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -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; |