forked from lix-project/lix
d072485d28
archives (using the package in corepkgs/nar). * queryPathByHash -> expandHash, and it takes an argument specifying the target path (which may be empty). * Install the core Fix packages in $prefix/share/fix. TODO: bootstrap Nix and install Nix as a Fix package.
22 lines
395 B
C++
22 lines
395 B
C++
#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);
|
|
}
|