forked from lix-project/lix
* Create /nix/var/nix/db if it's missing.
This commit is contained in:
parent
100becf8d1
commit
5833243c92
|
@ -199,6 +199,7 @@ LocalStore::LocalStore()
|
||||||
Path profilesDir = nixStateDir + "/profiles";
|
Path profilesDir = nixStateDir + "/profiles";
|
||||||
createDirs(nixStateDir + "/profiles");
|
createDirs(nixStateDir + "/profiles");
|
||||||
createDirs(nixStateDir + "/temproots");
|
createDirs(nixStateDir + "/temproots");
|
||||||
|
createDirs(nixDBPath);
|
||||||
Path gcRootsDir = nixStateDir + "/gcroots";
|
Path gcRootsDir = nixStateDir + "/gcroots";
|
||||||
if (!pathExists(gcRootsDir)) {
|
if (!pathExists(gcRootsDir)) {
|
||||||
createDirs(gcRootsDir);
|
createDirs(gcRootsDir);
|
||||||
|
|
Loading…
Reference in a new issue