aboutsummaryrefslogtreecommitdiff
#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);


}
20-10-13 23:48:15 +0200'>2020-10-13gnu: libcap: Make 'libcap/next' the default libcap....Marius Bakke 2020-10-13gnu: tzdata: Update to 2020b....Marius Bakke 2020-08-06gnu: binutils-gold: build with canonical gcc:lib....Efraim Flashner 2020-07-26gnu: glibc: Remove old versions....Marius Bakke 2020-07-08gnu: coreutils: Mark pwd-long tests XFAIL on the Hurd....Jan (janneke) Nieuwenhuizen 2020-06-26gnu: binutils-gold: Inherit replacements from binutils....Marius Bakke 2020-06-26gnu: binutils@2.33.1: Do not inherit replacements from binutils....Marius Bakke 2020-06-26gnu: binutils-gold: Inherit from 'binutils+documentation'....Marius Bakke 2020-06-18gnu: coreutils: Update broken tests for the Hurd....Jan (janneke) Nieuwenhuizen 2020-05-26Merge branch 'master' into stagingMarius Bakke 2020-05-11gnu: proot: Fix test failures....Ludovic Courtès 2020-05-08Merge branch 'core-updates'Marius Bakke 2020-05-07gnu: glibc/hurd-headers: Cross-build fix for the Hurd....Jan (janneke) Nieuwenhuizen 2020-04-26gnu: tzdata: Update to 2020a....Leo Famulari 2020-04-24gnu: Remove obsolete glibc-locales packages....Marius Bakke 2020-04-24gnu: Update glibc locale compatibility packages for 2.29....Marius Bakke 2020-04-20gnu: tar: Disable troublesome tests on the Hurd....Jan (janneke) Nieuwenhuizen 2020-04-20gnu: coreutils: Mark three more tests XFAIL on the Hurd....Jan (janneke) Nieuwenhuizen 2020-04-01Revert "gnu: coreutils: Fix cross-compilation to i586-pc-gnu."...Ludovic Courtès 2020-03-31gnu: coreutils: Fix cross-compilation to i586-pc-gnu....Ludovic Courtès 2020-03-30gnu: coreutils: Typo: Use libcap only when supported....Jan Nieuwenhuizen 2020-03-29gnu: coreutils: Handle failing tests on Hurd....Jan Nieuwenhuizen 2020-03-28gnu: OpenJDK: Build with GNU Make 4.2....Marius Bakke 2020-03-26gnu: make: Support for the Hurd....Jan Nieuwenhuizen 2020-03-24gnu: glibc: Add signal SA_SIGINFO support for the Hurd....Jan Nieuwenhuizen 2020-03-24gnu: glibc: Add clock patches for the Hurd....Jan Nieuwenhuizen 2020-03-21Merge branch 'master' into core-updatesMarius Bakke 2020-03-21gnu: coreutils: Improve description....Vitaliy Shatrov 2020-03-18gnu: make-ld-wrapper: Default to Guile 3.0....Marius Bakke 2020-03-16gnu: ld-wrapper: Use _IOLBF on Guile 2.0 only....Ludovic Courtès 2020-03-14gnu: coreutils: Remove libcap dependency for the Hurd....Jan Nieuwenhuizen 2020-03-09gnu: coreutils: Fix cross-compilation....Mathieu Othacehe 2020-03-05gnu: coreutils: Update to 8.32....Marius Bakke 2020-02-15gnu: glibc: Update to 2.31....Marius Bakke 2020-02-15gnu: ath9k-htc-firmware: Build with binutils@2.33.1....Marius Bakke 2020-02-15gnu: binutils: Update to 2.34....Marius Bakke 2020-02-06gnu: gcc: Switch back to using 'C_INCLUDE_PATH' instead of 'CPATH'....Ludovic Courtès 2020-01-21gnu: make: Update to 4.3....Marius Bakke 2020-01-21gnu: tzdata-for-tests: Update to 2019c....Marius Bakke 2020-01-15gnu: sed: Update to 4.8....Efraim Flashner 2020-01-14gnu: grep: Update to 3.4....Marius Bakke 2020-01-14gnu: findutils: Fix bootstrap on aarch64-linux and armhf-linux....Marius Bakke 2019-12-05gnu: findutils: Update to 4.7.0....Marius Bakke 2019-12-05gnu: glibc: Update to 2.30....Marius Bakke 2019-12-05Merge branch 'master' into core-updatesMarius Bakke 2019-11-27gnu: binutils: Update to 2.33.1....Efraim Flashner 2019-11-15Merge branch 'master' into stagingMarius Bakke 2019-10-30gnu: Fix make-gcc-libc....Carl Dong