aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/substitution-goal.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-03-15 16:35:41 +0100
committerGitHub <noreply@github.com>2021-03-15 16:35:41 +0100
commita5e21aa13cb717ea7624ef802ffb99501d949104 (patch)
tree3daf6aa9e2876d32c895b505a3d283eadd40972e /src/libstore/build/substitution-goal.cc
parent306c154632c03fe27e1513f4fb8797dd81536c05 (diff)
parent703c98c6cb922ff9d8cd8cb2c1104e0d3b15b803 (diff)
Merge pull request #4618 from NixOS/ca/sign-drvoutputs
Sign the derivation outputs
Diffstat (limited to 'src/libstore/build/substitution-goal.cc')
-rw-r--r--src/libstore/build/substitution-goal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc
index 5d88b8758..7b1ac126e 100644
--- a/src/libstore/build/substitution-goal.cc
+++ b/src/libstore/build/substitution-goal.cc
@@ -142,7 +142,7 @@ void PathSubstitutionGoal::tryNext()
/* Bail out early if this substituter lacks a valid
signature. LocalStore::addToStore() also checks for this, but
only after we've downloaded the path. */
- if (!sub->isTrusted && worker.store.pathInfoIsTrusted(*info))
+ 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));