diff options
author | Gavin Ray <ray.gavin97@gmail.com> | 2021-12-10 19:02:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 19:02:22 -0500 |
commit | 3542d4fe16822bcd94433bf9393fbe17a5297948 (patch) | |
tree | c2675c882f5284d8b19ef5c567ae3b6d60aabb7c /src/libstore | |
parent | 971382cab0c8ee057706e3dd4a124252d6b3547d (diff) |
Incorporate suggestions from @edolstra
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build/substitution-goal.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc index 4c3701b27..5ecf1da7e 100644 --- a/src/libstore/build/substitution-goal.cc +++ b/src/libstore/build/substitution-goal.cc @@ -138,10 +138,8 @@ void PathSubstitutionGoal::tryNext() only after we've downloaded the path. */ if (!sub->isTrusted && worker.store.pathInfoIsUntrusted(*info)) { - warn("substituter '%s' does not have a valid signature for path '%s'", - sub->getUri(), worker.store.printStorePath(storePath)); - warn("verify that your nix.conf contains a correct signature in 'trusted-public-keys' for %s", - sub->getUri()); + warn("the substitute for '%s' from '%s' is not signed by any of the keys in 'trusted-public-keys'", + worker.store.printStorePath(storePath), sub->getUri()); tryNext(); return; } |