diff mbox series

[bug#63320,2/2] DRAFT news: Add entry to 'guix style -S arguments'.

Message ID adae1909f9352a78f065b9c78303ca5d17604ddd.1683321562.git.ludo@gnu.org
State New
Headers show
Series Rewrite 'arguments' to gexps with 'guix style -S arguments' | expand

Commit Message

Ludovic Courtès May 5, 2023, 9:40 p.m. UTC
DRAFT: Missing commit ID.

* etc/news.scm: Add entry.
---
 etc/news.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

pelzflorian May 6, 2023, 10:43 a.m. UTC | #1
Hi Ludo.  Would you add this German translation:

(title
 (en …)
 (de "Neue Stilregel @code{arguments} für @command{guix style}"))
(body
 (en …)
 (de "Der Befehl @command{guix style} verfügt über eine neue @dfn{Stilregel}
für Paketdefinitionen.  Paketautoren können jetzt folgenden Befehl benutzen:

@example
guix style -L /pfad/zum/kanal -S arguments @var{Paket}
@end example

Dadurch wird das Feld @code{arguments} in @var{Paket} so umgeschrieben, dass
G-Ausdrücke (gexps) anstelle von klassischer Quasiquotierung verwendet
werden.

Führen Sie @command{info \"(guix.de) Aufruf von guix style\"} aus, um
mehr Informationen zu erhalten.")))



Regards,
Florian
diff mbox series

Patch

diff --git a/etc/news.scm b/etc/news.scm
index 22f04e4dae..41a03405a7 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -26,6 +26,22 @@ 
 (channel-news
  (version 0)
 
+ (entry (commit "FIXME")
+        (title
+         (en "New @code{arguments} rule for @command{guix style}"))
+        (body
+         (en "The @command{guix style} command has a new @dfn{styling rule}
+for package definitions.  Package writers may now run the following command:
+
+@example
+guix style -L /path/to/channel -S arguments @var{package}
+@end example
+
+This command rewrites the @code{arguments} field of @var{package} so that it
+uses G-expressions instead of classical quasiquotation.
+
+Run @command{info \"(guix) Invoking guix style\"} for more info.")))
+
  (entry (commit "ae11fcb84ac478dfa56d322ef08890645183a087")
         (title
          (en "New @option{--with-configure-flag} transformation option")