about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-19T12·49+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-19T12·49+0100
commit33f2fbcb62a4c47dd5c9c2fd987f5288b81dae61 (patch)
treef7e756b8c209868800ecafd1249c6ed33ba1f7e4 /src
parent9ee15abe30830b2de3277b30c709893990d41179 (diff)
parent6ad10591ce2a0e608309064a6ab6cee4c3aa8d04 (diff)
Merge pull request #707 from peti/master
src/libstore/build.cc: clarify error message for hash mismatches
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build.cc2
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));
         }