diff options
Diffstat (limited to 'src/nix-env/main.cc')
-rw-r--r-- | src/nix-env/main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index c2f5cdccb8c8..5321b294ab71 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -34,6 +34,10 @@ struct DrvInfo Path drvPath; Path outPath; Hash drvHash; + + DrvInfo() : drvHash(htMD5) + { + } }; typedef map<Path, DrvInfo> DrvInfos; |