aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 7ab7e4e8e..d4eda78a7 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -47,6 +47,8 @@ LocalStore::LocalStore()
if (readOnlyMode) return;
+ createDirs(nixStore);
+
checkStoreNotSymlink();
try {