From 960e9c560e335c65d378805fdb2594e7079a0c45 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 Feb 2018 15:05:41 +0100 Subject: [PATCH] nix: Ensure that the user sees errors from substituters --- src/libstore/build.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 9f669f7e4..392b494e6 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3688,8 +3688,8 @@ void SubstitutionGoal::tryNext() && !sub->isTrusted && !info->checkSignatures(worker.store, worker.store.publicKeys)) { - printInfo(format("warning: substituter '%s' does not have a valid signature for path '%s'") - % sub->getUri() % storePath); + printError("warning: substituter '%s' does not have a valid signature for path '%s'", + sub->getUri(), storePath); tryNext(); return; } @@ -3779,7 +3779,7 @@ void SubstitutionGoal::finished() try { promise.get_future().get(); } catch (Error & e) { - printInfo(e.msg()); + printError(e.msg()); /* Try the next substitute. */ state = &SubstitutionGoal::tryNext;