mirror of
https://github.com/NixOS/nix
synced 2025-07-04 23:51:47 +02:00
Fix empty std::optional dereference in writeDerivation()
https://hydra.nixos.org/build/123017579
This commit is contained in:
parent
3c50e84387
commit
de2641ae99
3 changed files with 26 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue