packages: 'package-transitive-supported-systems' accounts for implicit inputs.
authorLudovic Courtès <ludo@gnu.org>
Sat, 11 Apr 2015 10:41:49 +0000 (12:41 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 11 Apr 2015 11:06:23 +0000 (13:06 +0200)
commit9bf3ced06c42700d6c83ce3a0eda244798104618
tree7df998e019403db4601647bbd83fa7cd30e648d3
parentcceab87536d0385e406f30dea001d48e9b8f5621
packages: 'package-transitive-supported-systems' accounts for implicit inputs.

Reported by Federico Beffa.

* guix/packages.scm (package-transitive-supported-systems): Use
  bag-direct-inputs + package->bag rather than package-direct-inputs.
* tests/packages.scm ("package-transitive-supported-systems"): Add
  explicit 'build-system' field to each 'dummy-package' form.
  ("package-transitive-supported-systems, implicit inputs"): New test.
guix/packages.scm
tests/packages.scm