diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-11-19T12·49+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-11-19T12·49+0100 |
commit | 33f2fbcb62a4c47dd5c9c2fd987f5288b81dae61 (patch) | |
tree | f7e756b8c209868800ecafd1249c6ed33ba1f7e4 /src/libstore | |
parent | 9ee15abe30830b2de3277b30c709893990d41179 (diff) | |
parent | 6ad10591ce2a0e608309064a6ab6cee4c3aa8d04 (diff) |
Merge pull request #707 from peti/master
src/libstore/build.cc: clarify error message for hash mismatches
Diffstat (limited to 'src/libstore')
-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 f5f91d61711f..86697bda8139 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2708,7 +2708,7 @@ void DerivationGoal::registerOutputs() Hash h2 = recursive ? hashPath(ht, actualPath).first : hashFile(ht, actualPath); if (h != h2) throw BuildError( - format("output path ‘%1%’ should have %2% hash ‘%3%’, instead has ‘%4%’") + format("Nix expects output path ‘%1%’ to have %2% hash ‘%3%’, instead it has ‘%4%’") % path % i.second.hashAlgo % printHash16or32(h) % printHash16or32(h2)); } |