diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-03 09:44:22 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-08 22:30:08 +0100 |
commit | bfe4cdf88ee3e88910d22291a4c745462f2d6417 (patch) | |
tree | 215d220b02cae9f03b1c9a33782ff7f67945e76b /tests/pki.scm | |
parent | 5ff521452b9ec2aae9ed8e4bb7bdc250a581f203 (diff) | |
download | guix-bfe4cdf88ee3e88910d22291a4c745462f2d6417.tar guix-bfe4cdf88ee3e88910d22291a4c745462f2d6417.tar.gz |
daemon: Raise an error if substituter doesn't send the expected hash.
It was already impossible in practice for 'expectedHashStr' to be empty
if 'status' == "success".
* nix/libstore/build.cc (SubstitutionGoal::finished): Throw 'SubstError'
when 'expectedHashStr' is empty.
Diffstat (limited to 'tests/pki.scm')
0 files changed, 0 insertions, 0 deletions