aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-05-04 21:30:26 -0700
committerJade Lovelace <lix@jade.fyi>2024-05-04 21:30:26 -0700
commit2e8f9ac9446110a3e225ae8384055d83f29fff12 (patch)
treec9096d011313a63f2e6fe96bbb26a767b52be1ce
parent47fb49467601f43c950abc88c835ed44733f3d8f (diff)
Warn on untrusted client settings being ignored
These are such a footgun and trip people up a lot. Let's make Lix louder about this. Related: https://git.lix.systems/lix-project/lix/issues/261 Change-Id: I6a8d57c9817caaa6b0cbf886c615dda51038f628
-rw-r--r--src/libstore/daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 6a3035dda..242b4ddc6 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -253,7 +253,7 @@ struct ClientSettings
else if (setSubstituters(settings.substituters))
;
else
- debug("ignoring the client-specified setting '%s', because it is a restricted setting and you are not a trusted user", name);
+ warn("Ignoring the client-specified setting '%s', because it is a restricted setting and you are not a trusted user", name);
} catch (UsageError & e) {
warn(e.what());
}