warnings: enhance the case of untrusted substituter for untrusted user
This commit is contained in:
parent
aa61ae03da
commit
a96156c58f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue