aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorSolène Rapenne <solene.rapenne@tweag.io>2022-12-14 14:01:29 +0100
committerSolène Rapenne <solene.rapenne@tweag.io>2023-01-26 09:34:25 +0100
commita96156c58f94165e8dc61981ab9fa6e97a963e96 (patch)
treeed0c912b5403689aad5b365ce49a47194a825de8 /src/libstore/daemon.cc
parentaa61ae03da907cf23ed34d3c7f40a21f4464d6be (diff)
warnings: enhance the case of untrusted substituter for untrusted user
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 12596ba49..3731b21b8 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -222,7 +222,8 @@ struct ClientSettings
else if (!hasSuffix(s, "/") && trusted.count(s + "/"))
subs.push_back(s + "/");
else
- warn("ignoring untrusted substituter '%s'", s);
+ warn("ignoring untrusted substituter '%s', you are not a trusted user.\n"
+ "More information about 'trusted-substituters' option in nix.conf man page", s);
res = subs;
return true;
};