aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env/main.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-13 15:44:44 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-13 15:44:44 +0000
commit73992371a3bc16b27b22e53d5f7ae600dea9cf60 (patch)
treed1e5db8cea5caacff34ac4e9b61195b97dbd9ceb /src/nix-env/main.cc
parentd46b4262dc84689c3916583b91ed9fc6dafefdd6 (diff)
* Refactoring to support SHA-1.
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;