about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-27T14·19+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-27T14·19+0000
commitcb85bc396e7ee291bfd5c22b2a9edf3c85b49c5d (patch)
treed528d81632cf35f222220e24eb6849a7f9f2493a
parent61686926d12e55052480bd0ff2297e69cd6c364f (diff)
* Create /nix/store if it doesn't exist.
-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 7ab7e4e8e375..d4eda78a7c64 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 {