about summary refs log tree commit diff
path: root/src/globals.cc
blob: 9893d7ad22b4af49ec0a2393400c780db8d4985f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "globals.hh"
#include "db.hh"


string dbHash2Paths = "hash2paths";
string dbSuccessors = "successors";
string dbSubstitutes = "substitutes";


string nixStore = "/UNINIT";
string nixDataDir = "/UNINIT";
string nixLogDir = "/UNINIT";
string nixDB = "/UNINIT";


void initDB()
{
    createDB(nixDB, dbHash2Paths);
    createDB(nixDB, dbSuccessors);
    createDB(nixDB, dbSubstitutes);
}