aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore/misc.hh
blob: edbf24047eddcde8ffdaa07e954cd6ed16f3e65d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#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);


}
ackages/radio.scm?id=eba2b7de03450146858c06b3bbc1597cf1d43f36'>gnu: Add ggmorse....* gnu/packages/radio.scm (ggmorse): New variable. Change-Id: I0f05ad21d6e72b72568f566a79a1d003a0a3a656 Guillaume Le Vaillant 2024-10-14gnu: nanovna-saver: Update to 0.6.4....* gnu/packages/radio.scm (nanovna-saver): Update to 0.6.4. Change-Id: I99b18313d8e7f644bb8303d4f964b76d930184e5 Guillaume Le Vaillant 2024-10-14gnu: multimon-ng: Update to 1.3.1....* gnu/packages/radio.scm (multimon-ng): Update to 1.3.1. Change-Id: Ic2f27bbab20d47d40f1395e1df2011d0749d8e40 Guillaume Le Vaillant 2024-10-14gnu: xnec2c: Update to 4.4.16....* gnu/packages/radio.scm (xnec2c): Update to 4.4.16. Change-Id: I8cf8dd7b3a92159f251a9145b15d336c8c46f8e9 Guillaume Le Vaillant 2024-10-14gnu: fldigi: Update to 4.2.06....* gnu/packages/radio.scm (fldigi): Update to 4.2.06. Change-Id: Iff05e80e52b66264feb1f5de7a1fb0f90453379a Guillaume Le Vaillant 2024-09-28gnu: wfview: Update to 1.64....* gnu/packages/radio.scm (wfview): Update to 1.64. [inputs]: Add eudev. [arguments]: Update 'fix-paths' phase. Change-Id: I163aae4e40192b3efd0a2550fa8a624daa95b9c0 Guillaume Le Vaillant 2024-09-10gnu: direwolf: Update to 1.7....* gnu/packages/radio.scm (direwolf): Update to 1.7. Change-Id: I3b506b06f77acb1b2fd62e87a9a4050c042ea3c1 Guillaume Le Vaillant 2024-08-31gnu: gnuradio: Add 'bash' input for 'wrap-program'....It is required for cross-compilation. * gnu/packages/radio.scm (gnuradio)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ia3c4d9e65c5ca8ea1d5456dd59d74e9a5b7503da Maxime Devos