summaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-11 12:41:49 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-11 13:06:23 +0200
commit9bf3ced06c42700d6c83ce3a0eda244798104618 (patch)
tree7df998e019403db4601647bbd83fa7cd30e648d3 /guix/packages.scm
parentcceab87536d0385e406f30dea001d48e9b8f5621 (diff)
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.
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index f278db50f1..7d4696fb5e 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -579,7 +579,7 @@ supported by its dependencies."
(_
systems)))
(package-supported-systems package)
- (package-direct-inputs package)))
+ (bag-direct-inputs (package->bag package))))
(define (bag-direct-inputs bag)
"Same as 'package-direct-inputs', but applied to a bag."