about summary refs log tree commit diff
path: root/src/nix-env
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-11-18T17·17+0100
committerPeter Simons <simons@cryp.to>2015-11-19T11·42+0100
commit6ad10591ce2a0e608309064a6ab6cee4c3aa8d04 (patch)
treef7e756b8c209868800ecafd1249c6ed33ba1f7e4 /src/nix-env
parent9ee15abe30830b2de3277b30c709893990d41179 (diff)
src/libstore/build.cc: clarify error message for hash mismatches
Nix reports a hash mismatch saying:

  output path ‘foo’ should have sha256 hash ‘abc’, instead has ‘xyz’

That message is slightly ambiguous and some people read that statement
to mean the exact opposite of what it is supposed to mean. After this
patch, the message will be:

  Nix expects output path ‘foo’ to have sha256 hash ‘abc’, instead it has ‘xyz’
Diffstat (limited to 'src/nix-env')
0 files changed, 0 insertions, 0 deletions