summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-01-19 18:13:46 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-19 18:14:43 +0100
commitff34f8a6939a0ce633135b5ca1dcf0e9e712efcd (patch)
tree6ad51f6ddf715eede90e787dea7e4ba5f89713bb /etc
parent9ab817b2a4601b4a6755983590ed7d93ebdc8d09 (diff)
downloadguix-ff34f8a6939a0ce633135b5ca1dcf0e9e712efcd.tar.gz
news: Add entry for '--with-latest'.
* etc/news.scm: Add entry.
Diffstat (limited to 'etc')
-rw-r--r--etc/news.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/etc/news.scm b/etc/news.scm
index cd9b7a8e48..b16cc0d968 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -18,6 +18,37 @@
 (channel-news
  (version 0)
 
+ (entry (commit "9ab817b2a4601b4a6755983590ed7d93ebdc8d09")
+        (title (en "New @option{--with-latest} package transformation option")
+               (fr "Nouvelle option de transformation @option{--with-latest}"))
+        (body
+         (en "The new @option{--with-latest} package transformation option
+gets the latest release of a package, as would be identified by @command{guix
+refresh}, and uses it instead of the currently-packaged version.  For example,
+to install the latest release of GNOME Weather linked against the latest
+version of libgweather, run:
+
+@example
+guix install gnome-weather \\
+  --with-latest=gnome-weather --with-latest=libgweather
+@end example
+
+Run @command{info \"(guix) Package Transformation Options\"} for more info.")
+         (fr "La nouvelle option de transformation de paquets
+@option{--with-latest} récupère la dernière version d'un logiciel telle
+qu'elle serait trouvée par @command{guix refresh} et l'utilise à la place la
+version actuellement fournie par le paquet.  Par exemple, pour installer la
+dernière version de GNOME Weather, elle-même compilée avec la dernière version
+de libgweather, on lancera :
+
+@example
+guix install gnome-weather \\
+  --with-latest=gnome-weather --with-latest=libgweather
+@end example
+
+Voir @command{info \"(guix.fr) Options de transformation de paquets\"} pour
+plus de détails.")))
+
  (entry (commit "a879e35116043d5daf3d9d175b697d10b9177fd5")
         (title (en "Substitutes can now be compressed with zstd")
                (de "Substitute können nun mit zstd komprimiert werden")