#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); /* Return the path corresponding to the output identifier `id' in the given derivation. */ Path findOutput(const Derivation & drv, string id); bool willBuildLocally(const Derivation & drv); bool substitutesAllowed(const Derivation & drv); } class='tabs'> aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Expand)Author
2022-07-03etc: Add teams.scm....Ricardo Wurmus
2022-06-05gitignore: Add .DS_Store....Pavel Shlyak
2021-10-16.gitignore: Ignore more autotools directories....Sarah Morgensen
2021-10-16.gitignore: Ignore more temporary test directories....Sarah Morgensen
2021-09-20etc: Add systemd files for running ‘guix gc’ periodically...Thiago Jung Bauermann
2021-05-10.gitignore: Ignore .mo files....Maxim Cournoyer
2021-05-05.gitignore: Ignore .tarball-ignore....Maxim Cournoyer
2021-04-23.gitignore: Ignore release artifacts....Maxim Cournoyer
2021-04-23.gitignore: Ignore generated .pot files....Maxim Cournoyer