Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 6ad10591ce2a0e608309064a6ab6cee4c3aa8d04
      
https://github.com/NixOS/nix/commit/6ad10591ce2a0e608309064a6ab6cee4c3aa8d04
  Author: Peter Simons <[email protected]>
  Date:   2015-11-19 (Thu, 19 Nov 2015)

  Changed paths:
    M src/libstore/build.cc

  Log Message:
  -----------
  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’


  Commit: 33f2fbcb62a4c47dd5c9c2fd987f5288b81dae61
      
https://github.com/NixOS/nix/commit/33f2fbcb62a4c47dd5c9c2fd987f5288b81dae61
  Author: Eelco Dolstra <[email protected]>
  Date:   2015-11-19 (Thu, 19 Nov 2015)

  Changed paths:
    M src/libstore/build.cc

  Log Message:
  -----------
  Merge pull request #707 from peti/master

src/libstore/build.cc: clarify error message for hash mismatches


Compare: https://github.com/NixOS/nix/compare/9ee15abe3083...33f2fbcb62a4
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to