about summary refs log tree commit diff
path: root/src/libstore/store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/store.cc')
-rw-r--r--src/libstore/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store.cc b/src/libstore/store.cc
index cb5967182aa8..b3b0dfc4f50b 100644
--- a/src/libstore/store.cc
+++ b/src/libstore/store.cc
@@ -419,7 +419,7 @@ Path addToStore(const Path & _srcPath)
     Hash h(htMD5);
     {
         SwitchToOriginalUser sw;
-        h = hashPath(srcPath);
+        h = hashPath(srcPath, htMD5);
     }
 
     string baseName = baseNameOf(srcPath);