From 54c580b71ff4288b4746c2d8182771d1dd8f0a21 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Sat, 7 Aug 2021 14:42:59 +0300 Subject: [PATCH] Whitelist nixConfig.flake-registry flake-registry should be safe to set to an aribtrary value, since it is identical to just setting `inputs`. --- src/libexpr/flake/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/flake/config.cc b/src/libexpr/flake/config.cc index c8a5a319f..41b6f78ed 100644 --- a/src/libexpr/flake/config.cc +++ b/src/libexpr/flake/config.cc @@ -29,7 +29,7 @@ static void writeTrustedList(const TrustedList & trustedList) void ConfigFile::apply() { - std::set whitelist{"bash-prompt", "bash-prompt-suffix"}; + std::set whitelist{"bash-prompt", "bash-prompt-suffix", "flake-registry"}; for (auto & [name, value] : settings) {