packages: 'package-transitive-supported-systems' accounts for indirect deps.
authorLudovic Courtès <ludo@gnu.org>
Mon, 3 Nov 2014 20:26:48 +0000 (21:26 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 3 Nov 2014 20:26:48 +0000 (21:26 +0100)
commitc37a74bd3e9ef70eb1431ec932ca01785e1d57bc
tree5e10b3cc9cbd51335a16f2207b799a2e1567152a
parent6888830b353cfa2e12ecd11f924fa32b58cddedc
packages: 'package-transitive-supported-systems' accounts for indirect deps.

Reported by Andreas Enge <andreas@enge.fr>.

* guix/packages.scm (first-value): New macro.
  (package-transitive-supported-systems): Rewrite to traverse all the
  DAG rooted at PACKAGE.
* tests/packages.scm ("package-transitive-supported-systems"): Add 'd'
  and 'e', and test them.
guix/packages.scm
tests/packages.scm