aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/main.cc')
-rw-r--r--src/nix-env/main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc
index c2f5cdccb..5321b294a 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;