summary refs log tree commit diff
path: root/src
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
parent61686926d12e55052480bd0ff2297e69cd6c364f (diff)
downloadguix-cb85bc396e7ee291bfd5c22b2a9edf3c85b49c5d.tar.gz
* Create /nix/store if it doesn't exist.
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 7ab7e4e8e3..d4eda78a7c 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 {