diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-11-30T18·02+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-11-30T18·02+0000 |
commit | 6ecb840fd118019f879de60007e13321b7c080d3 (patch) | |
tree | 29f9db5fbf0da0b3e08af282db1a0fedba81decf /src/libstore/local-store.hh | |
parent | e2ef5e07fdc142670f7f3161d3133ff04e99d342 (diff) |
* Put building in the store API.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 2fd45cd7a521..e41e4368397f 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -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); |