#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); } d>
aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-package.sh
AgeCommit message (Expand)Author
2020-10-02guix package: Re-apply package transformation when upgrading....Ludovic Courtès
2020-10-02tests: Adjust to recent changes to the 'emacs' package....Ludovic Courtès
2020-09-28tests: Simplify shell exit status negation;...Eric Bavier
2020-03-25tests: Adjust to 'show-manifest-transaction' changes....Ludovic Courtès
2019-11-29tests: Fix race condition in profile locking test....Ludovic Courtès
2019-11-22package: Allow multiple '--manifest' options....Ludovic Courtès
2019-11-08guix: package: lock profiles when processing them....Julien Lepiller
2019-09-26guix package: Add '--list-profiles'....Ludovic Courtès
2019-09-18guix package: "guix package -f FILE" ensures FILE returns a package....Ludovic Courtès
2019-05-26discovery: 'all-modules' returns modules in path order....Robert Vollmert
2019-05-13tests: Fix guix-package.sh....Maxim Cournoyer
2019-05-09ui: Make package outputs searchable....Chris Marusich
2019-02-07profiles: Raise an error for unmatched patterns....Ludovic Courtès
2018-11-11guix package: '--show' errors when asked for a non-existent package....Ludovic Courtès
2018-09-21profiles: 'packages->manifest' now accepts inferior packages....Ludovic Courtès
2018-07-13guix package: Use relative symlinks to generations....Ludovic Courtès
2018-06-06tests: Adjust 'guix package' test to "python2" name....Ludovic Courtès