guix-play/nix/libutil
Ludovic Courtès 407175a1d0
daemon: Improve error message for wrong hash sizes.
* nix/libutil/hash.cc (parseHash): Show the hash algorithm name and
expected size in the error message.
* tests/derivations.scm ("fixed-output derivation, invalid hash size"):
New test.
2023-01-09 17:40:54 +01:00
..
affinity.cc Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
affinity.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
archive.cc daemon: Use unbranded phrases in comments and messages. 2018-12-16 16:28:07 +01:00
archive.hh daemon: Remove "case hack" for nars. 2018-10-02 23:08:30 +02:00
hash.cc daemon: Improve error message for wrong hash sizes. 2023-01-09 17:40:54 +01:00
hash.hh daemon: Recognize SHA3 and BLAKE2s. 2020-06-27 23:42:20 +02:00
serialise.cc Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
serialise.hh Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
types.hh Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
util.cc daemon: Make "opening file" error messages distinguishable. 2022-12-18 01:16:47 +01:00
util.hh daemon: 'Agent' constructor takes a list of environment variables. 2020-12-08 22:30:07 +01:00