aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-27 14:19:04 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-27 14:19:04 +0000
commitcb85bc396e7ee291bfd5c22b2a9edf3c85b49c5d (patch)
treed528d81632cf35f222220e24eb6849a7f9f2493a /src/libstore/local-store.cc
parent61686926d12e55052480bd0ff2297e69cd6c364f (diff)
* Create /nix/store if it doesn't exist.
Diffstat (limited to 'src/libstore/local-store.cc')
-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 {