#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); } ght'>
aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/shepherd.scm
AgeCommit message (Expand)Author
2022-11-18services: shepherd: Define 'shepherd-configuration-action' helper....Ludovic Courtès
2022-09-29services: shepherd: Leave the finalization thread in peace....Ludovic Courtès
2022-09-13services: shepherd: Install O_CLOEXEC variant of 'call-with-input-file' & co....Ludovic Courtès
2022-09-11services: shepherd: Open /dev/null as O_CLOEXEC....Ludovic Courtès
2022-04-10services: shepherd: Do not unload transient services....Ludovic Courtès
2022-04-07services: shepherd: Default to version 0.9....Ludovic Courtès
2021-11-30services: Accept <inferior-package>s in lieu of <package>s....Tobias Geerinckx-Rice