diff options
author | Solène Rapenne <solene.rapenne@tweag.io> | 2022-12-14 14:01:29 +0100 |
---|---|---|
committer | Solène Rapenne <solene.rapenne@tweag.io> | 2023-01-26 09:34:25 +0100 |
commit | a96156c58f94165e8dc61981ab9fa6e97a963e96 (patch) | |
tree | ed0c912b5403689aad5b365ce49a47194a825de8 /src/libstore/daemon.cc | |
parent | aa61ae03da907cf23ed34d3c7f40a21f4464d6be (diff) |
warnings: enhance the case of untrusted substituter for untrusted user
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r-- | src/libstore/daemon.cc | 3 |
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; }; |