We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f358ca commit d534f13Copy full SHA for d534f13
1 file changed
src/libstore/local-store.cc
@@ -212,6 +212,7 @@ LocalStore::LocalStore(bool reserveSpace)
212
213
/* Create missing state directories if they don't already exist. */
214
createDirs(settings.nixStore);
215
+ makeStoreWritable();
216
createDirs(linksDir = settings.nixStore + "/.links");
217
Path profilesDir = settings.nixStateDir + "/profiles";
218
createDirs(settings.nixStateDir + "/profiles");
@@ -297,8 +298,6 @@ LocalStore::LocalStore(bool reserveSpace)
297
298
}
299
300
else openDB(false);
-
301
- makeStoreWritable();
302
303
304
0 commit comments