about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-05-03T12·48+0200
committerEelco Dolstra <edolstra@gmail.com>2018-05-03T12·49+0200
commitc717d8e3bd96db9a597e11f067585cf1aee50a40 (patch)
tree3c38a32c1197dceed32251cdbf10ff3226b0823c /src
parent80a7b16593951791c4a85053a7cc14fc45260cee (diff)
Don't set a CA assertion for paths with references
Really fixes #2133.
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index a2b24524028a..f70ab8108fd7 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3249,6 +3249,8 @@ void DerivationGoal::registerOutputs()
         info.ultimate = true;
         worker.store.signPathInfo(info);
 
+        if (!info.references.empty()) info.ca.clear();
+
         infos.push_back(info);
     }