derivations: 'substitution-oracle' now ignores sub-trees that are valid.
authorLudovic Courtès <ludo@gnu.org>
Wed, 25 Mar 2015 08:48:52 +0000 (09:48 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 25 Mar 2015 09:46:22 +0000 (10:46 +0100)
commitc3a450fb49da41f1225353d2ca2e652daae36939
treed5fedab638b6e28cab5b499ccb89fe198ab7378e
parent3681db5d2c3c40f8796703325242998bbdb48403
derivations: 'substitution-oracle' now ignores sub-trees that are valid.

Before that, "guix build qt", when only qt itself is missing, would lead
'substitution-oracle' to call 'substitutable-paths' with 318 items.
Now, this is down to 6 items, because it doesn't ask about prerequisites
that are already valid.

* guix/derivations.scm (substitution-oracle)[valid-input?,
  dependencies]: New procedures.
  Use 'dependencies' and remove call to 'remove'.
guix/derivations.scm