Ludovic Courtès b1510fd8d2
derivations: 'derivation-build-plan' recurses on substituables.
This fixes a bug whereby "guix build texlive -n" would report:

  0.0 MB would be downloaded:
     /gnu/store/…-texlive-20180414

instead of:

  The following derivation would be built:
     /gnu/store/…-texlive-texmf-20180414.drv
  2,595.2 MB would be downloaded:
     /gnu/store/…-texlive-20180414-texmf.tar.xz
     /gnu/store/…-texlive-20180414

where 'texlive-texmf' is a non-substitutable dependency of 'texlive'.

* guix/derivations.scm (dependencies-of-substitutables): New procedure.
(derivation-build-plan): When 'input-substitutable-info' returns true,
append the subset of DEPS that corresponds to SUBSTITUABLES to the first
argument of 'loop'.
* guix/ui.scm (show-what-to-build): Remove half-baked traversal of
DOWNLOAD.
* tests/derivations.scm ("derivation-build-plan and substitutes,
non-substitutable dep"): New test.
2019-07-05 00:51:17 +02:00
..
2018-09-04 17:25:11 +02:00
2017-01-26 13:49:56 +01:00
2019-03-16 18:15:13 +01:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2019-03-23 18:15:36 +01:00
2018-09-07 11:40:22 +02:00
2019-04-10 17:09:47 +02:00
2019-05-22 00:09:41 +02:00
2019-02-05 22:33:06 +01:00
2018-09-04 17:25:11 +02:00
2018-10-29 00:13:38 +01:00
2019-03-24 00:13:53 +01:00
2019-04-10 17:09:47 +02:00
2019-06-27 11:14:40 +02:00
2017-06-15 17:03:19 +02:00
2018-05-10 14:53:56 +02:00
2017-11-17 10:47:49 +01:00