From d961c29c9c5e806ff7c46c855a1e9d2b6cae593b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Aug 2016 13:17:11 +0200 Subject: Mark content-addressed paths in the Nix database and in .narinfo This allows such paths to be imported without signatures. --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/build.cc') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 08a7fd91dda7..cfab0b0dc32c 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3213,7 +3213,7 @@ void SubstitutionGoal::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 (worker.store.requireSigs && !info->checkSignatures(worker.store.publicKeys)) { + if (worker.store.requireSigs && !info->checkSignatures(worker.store, worker.store.publicKeys)) { printMsg(lvlInfo, format("warning: substituter ā€˜%sā€™ does not have a valid signature for path ā€˜%sā€™") % sub->getUri() % storePath); tryNext(); -- cgit 1.4.1