aboutsummaryrefslogtreecommitdiff
path: root/guix-gc.in
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2013-02-12 01:24:21 -0500
committerLudovic Courtès <ludo@gnu.org>2013-02-27 20:55:39 +0100
commit854d62777938eaf5552d8e90a3848e3a8fdbbbbd (patch)
tree9cd99c670c4146dd6b6fc1eddae270b3685773a7 /guix-gc.in
parent9ede36f0ed2ea3c2a6a020b52e51b741b07cbc1f (diff)
downloadguix-854d62777938eaf5552d8e90a3848e3a8fdbbbbd.tar
guix-854d62777938eaf5552d8e90a3848e3a8fdbbbbd.tar.gz
Build newest versions unless specified, and implement upgrades.
* gnu/packages.scm (find-newest-available-packages): New exported procedure. * guix-build.in (newest-available-packages, find-best-packages-by-name): New procedures. (find-package): Use find-best-packages-by-name, to guarantee that if a version number is not specified, only the newest versions will be considered. * guix-package.in (%options): Add --upgrade/-u option. (newest-available-packages, find-best-packages-by-name, upgradeable?): New procedures. (find-package): Use find-best-packages-by-name, to guarantee that if a version number is not specified, only the newest versions will be considered. (process-actions): Implement upgrade option. * doc/guix.texi (Invoking guix-package): In the description of --install, mention that if no version number is specified, the newest available version will be selected.
Diffstat (limited to 'guix-gc.in')
0 files changed, 0 insertions, 0 deletions