diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-19 22:05:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-27 11:14:41 +0200 |
commit | ba04f80e2e0fd92ca381c8fac8a659cb8f9abdd2 (patch) | |
tree | 2806aa302d627975d759725ddbb3f5c2c226d566 /nix | |
parent | c89985d91d2b44704fbcaebd7a097dee0c0e3e4a (diff) | |
download | patches-ba04f80e2e0fd92ca381c8fac8a659cb8f9abdd2.tar patches-ba04f80e2e0fd92ca381c8fac8a659cb8f9abdd2.tar.gz |
derivations: Rewrite and replace 'derivations-prerequisites-to-build'.
The new 'derivation-build-plan' procedure has a more appropriate
signature: it takes a list of <derivation-inputs> instead of taking one
<derivation>. Its body is also much simpler.
* guix/derivations.scm (derivation-build-plan): New procedure.
(derivation-prerequisites-to-build): Express in terms of
'derivation-build-plan' and mark as deprecated.
* tests/derivations.scm: Change 'derivation-prerequisites-to-build'
tests to 'derivation-build-plan' and adjust accordingly.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions