diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-11-19 22:37:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-11-19 23:04:38 +0100 |
commit | ba326ce41b5784f3acb99d4beae5ffc455d6a27e (patch) | |
tree | afaf50cb0b948f6a49cc0e2c7430fdab915a2f2c /guix-package.in | |
parent | 733b4130d75281a0bd634bc84600bcc2ea44a317 (diff) | |
download | guix-ba326ce41b5784f3acb99d4beae5ffc455d6a27e.tar guix-ba326ce41b5784f3acb99d4beae5ffc455d6a27e.tar.gz |
distro: Add `fold-packages'.
* distro.scm (fold-packages): New procedure.
(find-packages-by-name): Use it instead of hand-written traversal;
remove `package?' checks from `right-package?'.
* tests/packages.scm ("fold-packages"): New test.
Diffstat (limited to 'guix-package.in')
0 files changed, 0 insertions, 0 deletions