diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-07T12·14+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-07T13·16+0200 |
commit | e39999ed48f7bce81555d1cd58918e59dffcf922 (patch) | |
tree | ebc9697051bf2596b108ba310bf27a021c5177b1 /src/libstore/build.cc | |
parent | dc82160164d6c74586b448a13443c19b5a6709c1 (diff) |
Sign locally-built paths
Locally-built paths are now signed automatically using the secret keys specified by the ‘secret-key-files’ option.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 31c321c83ade..1a51d0ec402d 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2748,6 +2748,7 @@ void DerivationGoal::registerOutputs() trusted. */ if (!info.ultimate) { info.ultimate = true; + worker.store.signPathInfo(info); worker.store.registerValidPaths({info}); } @@ -2808,6 +2809,8 @@ void DerivationGoal::registerOutputs() info.references = references; info.deriver = drvPath; info.ultimate = true; + worker.store.signPathInfo(info); + infos.push_back(info); } |