From f97e3a24ffd076c0c066813406b1141e93eafc7a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 3 May 2018 14:48:28 +0200 Subject: [PATCH] Don't set a CA assertion for paths with references Really fixes #2133. (cherry picked from commit c717d8e3bd96db9a597e11f067585cf1aee50a40) --- src/libstore/build.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index df0cde038..6de437f3b 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3235,6 +3235,8 @@ void DerivationGoal::registerOutputs() info.ultimate = true; worker.store.signPathInfo(info); + if (!info.references.empty()) info.ca.clear(); + infos.push_back(info); }