#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);
}
ripts
gnu: licensecheck: Add 'bash' input for 'wrap-program'....It is required for cross-compilation.
* gnu/packages/license.scm
(licensecheck)[inputs]: Add 'bash-minimal'.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Maxime Devos
2024-07-03
gnu: reuse: Update to 3.0.2....* gnu/packages/license.scm (reuse): Update to 3.0.2.
Change-Id: I527df845dcc4deaf1ffae90d6a8e13dc9033d5ad
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Felix Gruber
2024-01-19
gnu: reuse: Update to 3.0.1....* gnu/packages/license.scm (reuse): Update to 3.0.1.
[arguments]: New field.
Change-Id: Ibbc5ae8cfa0e0e62b6c64bd90387022e88f9c933