From 5833243c92f28759ff0fc1ff9266535a3230e2d6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 13 Dec 2010 13:42:34 +0000 Subject: [PATCH] * Create /nix/var/nix/db if it's missing. --- src/libstore/local-store.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index b80f66412..32c7a5330 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);