diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-09 01:23:37 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-09 01:23:37 -0500 |
commit | 762273f1fd48b2b2f2bbedca65abfd4c07b5af05 (patch) | |
tree | 2a7c38e5af4cdd9dfc3302a2c0873f51b59470da /mk | |
parent | d558fb98f6f8ce32e5c08a36d798441f1b941ba8 (diff) |
Allow empty hash in derivations
follow up of https://github.com/NixOS/nix/pull/3544
This allows hash="" so that it can be used for debugging purposes. For
instance, this gives you an error message like:
warning: found empty hash, assuming you wanted 'sha256:0000000000000000000000000000000000000000000000000000'
hash mismatch in fixed-output derivation '/nix/store/asx6qw1r1xk6iak6y6jph4n58h4hdmbm-nix':
wanted: sha256:0000000000000000000000000000000000000000000000000000
got: sha256:0fpfhipl9v1mfzw2ffmxiyyzqwlkvww22bh9wcy4qrfslb4jm429
Diffstat (limited to 'mk')
0 files changed, 0 insertions, 0 deletions