diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-12-21 22:36:32 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-12-21 22:36:32 +0100 |
commit | 3f26bfc18a70a65443688d7724e5f97c53855c01 (patch) | |
tree | 71c1928fbced3aeb99c2b5a1b9bb2f0a62bdf30b /doc.am | |
parent | 0820098d1ccf63e3e8b44df67dcb4236b78975c6 (diff) | |
download | patches-3f26bfc18a70a65443688d7724e5f97c53855c01.tar patches-3f26bfc18a70a65443688d7724e5f97c53855c01.tar.gz |
Factorize package search between 'guix package' and 'guix build'.
* guix/scripts/package.scm (newest-available-packages): Remove.
(find-best-packages-by-name): Move to...
* gnu/packages.scm (find-best-packages-by-name): ... here.
(find-newest-available-packages): Memoize.
* guix/scripts/build.scm (specification->package): New procedure,
formerly called 'find-package' within 'guix-build'.
(guix-build): Adjust accordingly.
Diffstat (limited to 'doc.am')
0 files changed, 0 insertions, 0 deletions