1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 20:46:01 +01:00

Adds an accept-flake-config flag

This commit is contained in:
Tom Bereknyei 2021-11-12 09:50:07 -05:00
parent bceda30498
commit 30496af598
2 changed files with 14 additions and 12 deletions

View file

@ -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."};
};