packages: 'fold-bag-dependencies' honors nativeness in recursive calls.
authorLudovic Courtès <ludo@gnu.org>
Tue, 5 Dec 2017 14:13:38 +0000 (15:13 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 5 Dec 2017 14:13:38 +0000 (15:13 +0100)
commitff0e0041f358c0e4d0ab890f183b8a0c31727bea
tree17a7e500e8af629e15e00639e94fb59b03d1d5c3
parentf00b85ff8d34df0a1879e593d4a85629b8586af7
packages: 'fold-bag-dependencies' honors nativeness in recursive calls.

Previously recursive calls to 'loop' would always consider all the bag
inputs rather than those corresponding to NATIVE?.

* guix/packages.scm (fold-bag-dependencies)[bag-direct-inputs*]: New
procedure.  Use it both in the 'match' expression and in its body.
guix/packages.scm