mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
* Put building in the store API.
This commit is contained in:
parent
e2ef5e07fd
commit
6ecb840fd1
11 changed files with 31 additions and 48 deletions
|
@ -1,4 +1,3 @@
|
|||
#include "build.hh"
|
||||
#include "references.hh"
|
||||
#include "pathlocks.hh"
|
||||
#include "misc.hh"
|
||||
|
@ -2195,7 +2194,7 @@ void Worker::waitForInput()
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
void buildDerivations(const PathSet & drvPaths)
|
||||
void LocalStore::buildDerivations(const PathSet & drvPaths)
|
||||
{
|
||||
startNest(nest, lvlDebug,
|
||||
format("building %1%") % showPaths(drvPaths));
|
||||
|
@ -2222,7 +2221,7 @@ void buildDerivations(const PathSet & drvPaths)
|
|||
}
|
||||
|
||||
|
||||
void ensurePath(const Path & path)
|
||||
void LocalStore::ensurePath(const Path & path)
|
||||
{
|
||||
/* If the path is already valid, we're done. */
|
||||
if (store->isValidPath(path)) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue