* Create /nix/var/nix/db if it's missing.
This commit is contained in:
parent
100becf8d1
commit
5833243c92
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue