Don't set a CA assertion for paths with references

Really fixes #2133.
This commit is contained in:
Eelco Dolstra 2018-05-03 14:48:28 +02:00
parent 80a7b16593
commit c717d8e3bd
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -3249,6 +3249,8 @@ void DerivationGoal::registerOutputs()
info.ultimate = true; info.ultimate = true;
worker.store.signPathInfo(info); worker.store.signPathInfo(info);
if (!info.references.empty()) info.ca.clear();
infos.push_back(info); infos.push_back(info);
} }