From fddf97456c473b1231e08aea5e8096f42f2a63a8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 16 May 2023 17:23:00 +0200 Subject: doc: Change '--with-configure-flag' example to something that works. Passing '-DBUILD_COMPLEX=OFF' to lapack would eventually lead to a link error. Reported by Florian Pelz . * doc/guix.texi (Package Transformation Options): Change '--with-configure-flag' example. * etc/news.scm: Likewise. --- etc/news.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/news.scm') diff --git a/etc/news.scm b/etc/news.scm index f5dc3ca0d5..5045a40620 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -39,7 +39,7 @@ the build system of the @code{lapack} package: @example guix build lapack \\ - --with-configure-flag=lapack=-DBUILD_COMPLEX=OFF + --with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF @end example Run @command{info \"(guix) Package Transformation Options\"} for more info.") @@ -50,7 +50,7 @@ Befehlszeilenoption für configure mitzugeben. Zum Beispiel können Sie dem @example guix build lapack \\ - --with-configure-flag=lapack=-DBUILD_COMPLEX=OFF + --with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF @end example Führen Sie für mehr Informationen @command{info \"(guix.de) @@ -63,7 +63,7 @@ un drapeau à @command{cmake}, le système de construction du logiciel @example guix build lapack \\ - --with-configure-flag=lapack=-DBUILD_COMPLEX=OFF + --with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF @end example Voir @command{info \"(guix.fr) Options de transformation de paquets\"} pour -- cgit 1.4.1 From 2344ccee2f28f790fa0b69ecb1916c162c1f8c50 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 5 May 2023 23:15:52 +0200 Subject: news: Add entry to 'guix style -S arguments'. * etc/news.scm: Add entry. --- etc/news.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'etc/news.scm') diff --git a/etc/news.scm b/etc/news.scm index 5045a40620..314f0ab352 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -26,6 +26,50 @@ (channel-news (version 0) + (entry (commit "ba5da5125a81307500982517e2f458d57b024668") + (title + (en "New @code{arguments} rule for @command{guix style}") + (de "Neue Stilregel @code{arguments} für @command{guix style}") + (fr "Nouvelle règle @code{arguments} pour @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.") + (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.") + (fr "La commande @command{guix style} a une nouvelle @dfn{règle de +style} pour les définitions de paquets. Les auteurices de paquets peuvent +maintenant lancer la commande suivante : + +@example +guix style -L /chemin/vers/canal -S arguments @var{paquet} +@end example + +Cette commande réécrit le champ @code{arguments} de @var{paquet} pour qu'il +utilise des G-expressions plutôt que des quasicitations classiques. + +Lancer @command{info \"(guix.fr) Invoquer guix style\"} pour plus +d'informations."))) + (entry (commit "ae11fcb84ac478dfa56d322ef08890645183a087") (title (en "New @option{--with-configure-flag} transformation option") -- cgit 1.4.1