diff options
author | Tom Bereknyei <tomberek@gmail.com> | 2021-11-12 09:50:07 -0500 |
---|---|---|
committer | Tom Bereknyei <tomberek@gmail.com> | 2021-11-12 09:50:07 -0500 |
commit | 30496af5980fd03706f587eef014e630e9d9d318 (patch) | |
tree | fbe3038fa1e5cb2556e0dca79dde9e009ede65e4 /src/libstore | |
parent | bceda304982a34c65d5a1dab449cb5bc59f63b83 (diff) |
Adds an accept-flake-config flag
Diffstat (limited to 'src/libstore')
-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 165639261..a50eb6803 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -951,6 +951,9 @@ public: Setting<bool> useRegistries{this, true, "use-registries", "Whether to use flake registries to resolve flake references."}; + + Setting<bool> acceptFlakeConfig{this, false, "accept-flake-config", + "Whether to accept nix configuration from a flake without prompting."}; }; |