tree-wide: fix various lint warnings

Change-Id: I0fc80718eb7e02d84cc4b5d5deec4c0f41116134
This commit is contained in:
Jade Lovelace
2024-08-04 20:55:45 -07:00
parent 9238e62ae6
commit ca9d3e6e00
10 changed files with 25 additions and 18 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ void ConfigFile::apply()
bool trusted = whitelist.count(baseName);
if (!trusted) {
switch (nix::fetchSettings.acceptFlakeConfig) {
switch (nix::fetchSettings.acceptFlakeConfig.get()) {
case AcceptFlakeConfig::True: {
trusted = true;
break;