lix/src/globals.cc

22 lines
395 B
C++
Raw Normal View History

#include "globals.hh"
#include "db.hh"
string dbHash2Paths = "hash2paths";
2003-07-04 12:18:06 +00:00
string dbSuccessors = "successors";
string dbSubstitutes = "substitutes";
string nixStore = "/UNINIT";
string nixDataDir = "/UNINIT";
string nixLogDir = "/UNINIT";
string nixDB = "/UNINIT";
void initDB()
{
createDB(nixDB, dbHash2Paths);
2003-07-04 12:18:06 +00:00
createDB(nixDB, dbSuccessors);
createDB(nixDB, dbSubstitutes);
}