aboutsummaryrefslogtreecommitdiff
#pragma once

#include "derivations.hh"


namespace nix {


/* Read a derivation, after ensuring its existence through
   ensurePath(). */
Derivation derivationFromPath(StoreAPI & store, const Path & drvPath);

/* Place in `paths' the set of all store paths in the file system
   closure of `storePath'; that is, all paths than can be directly or
   indirectly reached from it.  `paths' is not cleared.  If
   `flipDirection' is true, the set of paths that can reach
   `storePath' is returned; that is, the closures under the
   `referrers' relation instead of the `references' relation is
   returned. */
void computeFSClosure(StoreAPI & store, const Path & path,
    PathSet & paths, bool flipDirection = false,
    bool includeOutputs = false, bool includeDerivers = false);

bool willBuildLocally(const Derivation & drv);

bool substitutesAllowed(const Derivation & drv);


}
/td>mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-11-22 20:09:17 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:16:42 +0100
commit125d7c587199f10b184aef102ed3eabedf0d4382 (patch)
tree526e856fe4df67a43fbd55d6a391f6c857284f4c /gnu/tests/web.scm
parent71fb04a5e31ed9fb1310bfdf26897ddf0df99266 (diff)
downloadguix-125d7c587199f10b184aef102ed3eabedf0d4382.tar.gz
guix-125d7c587199f10b184aef102ed3eabedf0d4382.zip
gnu: commencement: Add tar-mesboot.
* gnu/packages/commencement.scm (tar-mesboot): New variable.
Diffstat (limited to 'gnu/tests/web.scm')
0 files changed, 0 insertions, 0 deletions