summary refs log tree commit diff
path: root/etc/news.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-27 17:23:02 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-27 17:24:07 +0100
commitd21f251a35a1e8305b06ec23a0c56e444b4794ac (patch)
tree5b20cde2a3e9b09b1f96210d7b7d8bbe6f8f1325 /etc/news.scm
parente38d90d497e19e00263fa28961c688a433154386 (diff)
downloadguix-d21f251a35a1e8305b06ec23a0c56e444b4794ac.tar.gz
news: Add entry for '--with-patch'.
* etc/news.scm: Add entry.
Diffstat (limited to 'etc/news.scm')
-rw-r--r--etc/news.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/news.scm b/etc/news.scm
index 8cd1c89837..2f5dcd54ad 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -17,6 +17,32 @@
 
 (channel-news
  (version 0)
+
+ (entry (commit "e38d90d497e19e00263fa28961c688a433154386")
+        (title (en "New @option{--with-patch} package transformation option")
+               (fr "Nouvelle option de transformation @option{--with-patch}"))
+        (body
+         (en "The new @option{--with-patch} package transformation option
+applies patches to the specified packages before building them.  The example
+below builds the GNU Core Utilities against a patched C library (glibc):
+
+@example
+guix build coreutils --with-patch=glibc=./glibc-frob.patch
+@end example
+
+Run @command{info \"(guix) Package Transformation Options\"} for more info.")
+         (fr "La nouvelle option de transformation de paquets
+@option{--with-patch} applique des modifications (@i{patches}) aux paquets
+spécifiés avant de les compiler.  L'exemple suivant compile les utilitaires de
+base GNU avec une bibliothèque C (glibc) modifiée :
+
+@example
+guix build coreutils --with-patch=glibc=./glibc-frob.patch
+@end example
+
+Voir @command{info \"(guix.fr) Options de transformation de paquets\"} pour
+plus de détails.")))
+
  (entry (commit "79f9dee3c4c0e6d21066f142116a537207ae7ba4")
         (title (en "Local substitute servers discovery is now supported")
                (de "Substitutserver können jetzt im lokalen Netz erkannt werden")