#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); /* Given a set of paths that are to be built, return the set of derivations that will be built, and the set of output paths that will be substituted. */ void queryMissing(StoreAPI & store, const PathSet & targets, PathSet & willBuild, PathSet & willSubstitute, PathSet & unknown, unsigned long long & downloadSize, unsigned long long & narSize); bool willBuildLocally(const Derivation & drv); bool substitutesAllowed(const Derivation & drv); } ee0e88127a3809ff77786f934aec6'>commitdiff
path: root/tests/pack.scm
AgeCommit message (Expand)Author
2023-07-18tests: pack: Fix indentation....Maxim Cournoyer
2023-07-18pack: Move common build code to (guix build pack)....Maxim Cournoyer
2023-03-17Revert "tests: pack: Fix indentation."...Maxim Cournoyer
2023-02-27pack: Make sure tests can run without a world rebuild....Ludovic Courtès
2023-02-19pack: Add RPM format....Maxim Cournoyer
2023-02-19tests: pack: Fix indentation....Maxim Cournoyer
2022-10-22Remove now unnecessary uses of (guix grafts)....Ludovic Courtès