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


}
e='2023-12-25 11:36:20 +0200'>2023-12-25gnu: curl: Fix test suite on arm platforms....Efraim Flashner 2023-12-17gnu: curl: Update to 8.5.0 [security fixes]....John Kehayias 2023-11-30gnu: curl: Skip failing test on the Hurd....Janneke Nieuwenhuizen 2023-11-15gnu: curl: Skip failing test on arm machines....Efraim Flashner 2023-11-05gnu: curl: Run tests in parallel....John Kehayias 2023-11-05gnu: curl: Ungraft....John Kehayias 2023-10-25gnu: curlie: Update to 1.7.2....Imran Iqbal 2023-10-11gnu: curl/fixed: Fix version....John Kehayias 2023-10-11gnu: curl/fixed: Update to 8.4.0 [security fixes]....John Kehayias 2023-10-10gnu: curl/fixed: Skip failing test on the Hurd....Janneke Nieuwenhuizen 2023-10-05gnu: curl: Update to 8.3.0....Liliana Marie Prikler 2023-07-20gnu: curl: Skip failing test on the Hurd....Janneke Nieuwenhuizen