Whitelist nixConfig.flake-registry

flake-registry should be safe to set to an aribtrary value, since it
is identical to just setting `inputs`.
This commit is contained in:
Alexander Bantyev 2021-08-07 14:42:59 +03:00
parent e277c0c479
commit 54c580b71f
No known key found for this signature in database
GPG key ID: E081FF12ADCB4AD5

View file

@ -29,7 +29,7 @@ static void writeTrustedList(const TrustedList & trustedList)
void ConfigFile::apply()
{
std::set<std::string> whitelist{"bash-prompt", "bash-prompt-suffix"};
std::set<std::string> whitelist{"bash-prompt", "bash-prompt-suffix", "flake-registry"};
for (auto & [name, value] : settings) {