diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-31 18:48:28 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-12-05 20:32:25 +0100 |
commit | 47a937d512007d7d78e242d35dd086d332547913 (patch) | |
tree | e0f4c1c92a34ab642f5f357d121018e11ebcccb0 | |
parent | 0678e4d56a839f940af8aa70059ced48b393e817 (diff) |
Show hash mismatch warnings in SRI format
(cherry picked from commit 63c5c91cc053cbc1fcb8d3fe71c41142c9f51bfa)
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index e9e1fe4b1..31011cd7c 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3685,7 +3685,7 @@ void DerivationGoal::registerOutputs() worker.hashMismatch = true; delayedException = std::make_exception_ptr( BuildError("hash mismatch in fixed-output derivation '%s':\n wanted: %s\n got: %s", - dest, h.to_string(), h2.to_string())); + dest, h.to_string(SRI), h2.to_string(SRI))); Path actualDest = worker.store.toRealPath(dest); |