diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-12-13T13·42+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-12-13T13·42+0000 |
commit | 5833243c92f28759ff0fc1ff9266535a3230e2d6 (patch) | |
tree | ee52c08268e1ec388fcdd389387d85ff1f764b8f /src/libstore | |
parent | 100becf8d1b95055c73a024f1a2b318690de72f6 (diff) |
* Create /nix/var/nix/db if it's missing.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/local-store.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index b80f66412576..32c7a533056e 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -199,6 +199,7 @@ LocalStore::LocalStore() Path profilesDir = nixStateDir + "/profiles"; createDirs(nixStateDir + "/profiles"); createDirs(nixStateDir + "/temproots"); + createDirs(nixDBPath); Path gcRootsDir = nixStateDir + "/gcroots"; if (!pathExists(gcRootsDir)) { createDirs(gcRootsDir); |