diff options
Diffstat (limited to 'src/store.cc')
-rw-r--r-- | src/store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store.cc b/src/store.cc index bb945e037..095d20430 100644 --- a/src/store.cc +++ b/src/store.cc @@ -177,7 +177,7 @@ void addToStore(string srcPath, string & dstPath, Hash & hash) } string baseName = baseNameOf(srcPath); - dstPath = nixStore + "/" + (string) hash + "-" + baseName; + dstPath = canonPath(nixStore + "/" + (string) hash + "-" + baseName); copyPath(srcPath, dstPath); |