* Put building in the store API.
This commit is contained in:
parent
e2ef5e07fd
commit
6ecb840fd1
11 changed files with 31 additions and 48 deletions
|
|
@ -18,6 +18,9 @@ class Transaction;
|
|||
const int nixSchemaVersion = 3;
|
||||
|
||||
|
||||
extern string drvsLogDir;
|
||||
|
||||
|
||||
class LocalStore : public StoreAPI
|
||||
{
|
||||
public:
|
||||
|
|
@ -56,6 +59,10 @@ public:
|
|||
Path addTextToStore(const string & suffix, const string & s,
|
||||
const PathSet & references);
|
||||
|
||||
void buildDerivations(const PathSet & drvPaths);
|
||||
|
||||
void ensurePath(const Path & storePath);
|
||||
|
||||
private:
|
||||
Path _addToStore(bool fixed, bool recursive,
|
||||
string hashAlgo, const Path & _srcPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue