summary refs log tree commit diff
path: root/nix/libstore/derivations.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-03 09:44:22 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-08 22:30:08 +0100
commitbfe4cdf88ee3e88910d22291a4c745462f2d6417 (patch)
tree215d220b02cae9f03b1c9a33782ff7f67945e76b /nix/libstore/derivations.hh
parent5ff521452b9ec2aae9ed8e4bb7bdc250a581f203 (diff)
downloadguix-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 'nix/libstore/derivations.hh')
0 files changed, 0 insertions, 0 deletions