diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-06-25 15:50:30 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-06-25 15:50:30 +0200 |
commit | de2641ae99965ecf88e6f72e3969c0c7b7e7020a (patch) | |
tree | dc5114198685b489771108e02c89597e83b51745 /src/libutil/hash.hh | |
parent | 3c50e84387e51858f10c540e721a938592f30949 (diff) |
Fix empty std::optional dereference in writeDerivation()
https://hydra.nixos.org/build/123017579
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r-- | src/libutil/hash.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh index 0d9916508..23259dced 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -10,7 +10,7 @@ namespace nix { MakeError(BadHash, Error); -enum HashType : char { htMD5, htSHA1, htSHA256, htSHA512 }; +enum HashType : char { htMD5 = 42, htSHA1, htSHA256, htSHA512 }; const int md5HashSize = 16; |