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
..
2017-07-21 17:03:24 +02:00
2019-05-09 00:22:37 -04:00
2019-04-14 23:40:52 +02:00
2017-01-28 18:55:20 +01:00
2019-05-06 23:21:33 +02:00
2018-08-26 01:47:40 +02:00
2019-06-03 23:18:47 +02:00
2018-09-25 18:45:50 +02:00
2017-11-08 22:31:58 +01:00
2018-06-01 15:21:28 +02:00
2019-03-13 23:12:43 +01:00
2019-06-05 23:10:37 +02:00
2018-09-04 17:25:11 +02:00
2019-07-04 18:05:02 +02:00
2019-07-04 18:05:02 +02:00
2019-06-29 14:27:22 +02:00
2019-06-10 22:42:52 +02:00