unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: 41867@debbugs.gnu.org
Subject: [bug#41867] [PATCH] news: Add entry for script execution via "guix repl".
Date: Mon, 15 Jun 2020 09:35:08 +0200	[thread overview]
Message-ID: <m1r1ughjdf.fsf@fastmail.net> (raw)

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

diff --git a/etc/news.scm b/etc/news.scm
index 6bf88ccb44..0e72c5cceb 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -13,6 +13,45 @@
 (channel-news
  (version 0)
 
+ (entry (commit "c924e541390f9595d819edc33c19d979917c15ec")
+        (title (en "@command{guix repl} adds support for running Guile scripts")
+               (de "@command{guix repl} kann Guile-Skripte ausführen")
+               (fr "@command{guix repl} permet d'exécuter des scripts en langage Guile"))
+        (body
+         (en "The @command{guix repl} command can now be used to run
+Guile scripts.  Compared to just launching the @command{guile} command,
+@command{guix repl} guarantees that all the Guix modules and all its
+dependencies are available in the search path.  Scripts are run like this:
+
+@example
+guix repl -- my-script,scm --option1 --option2=option-arg arg1 arg2
+@end example
+
+Run @command{info \"(guix) Invoking guix repl\"} for more information.")
+         (de "Der Befehl @command{guix repl} kann jetzt zur Ausführung von
+Guile-Skripten verwendet werden.  Im Vergleich zum Befehl
+@command{guile} garantiert @command{guix repl}, dass alle Guix-Module und
+alle seine Abhängigkeiten im Suchpfad verfügbar sind.  Skripte werden wie
+folgt ausgeführt:
+
+@Beispiel
+guix repl -- my-script,scm --option1 --option2 --option2=option-arg arg1 arg2
+@End-Beispiel
+
+Weitere Informationen erhalten Sie mit
+@command{info \"(guix) ausführen und guix repl\"}.")
+         (fr "La commande @command{guix repl} peut maintenant être utilisée
+pour exécuter des scripts en langage Guile.  Par rapport au simple lancement
+de la commande @command{guile}, @command{guix repl} garantit que tous les
+modules Guix et toutes ses dépendances sont disponibles dans le chemin
+de recherche.  Les scripts sont exécutés comme ceci :
+
+@exemple
+guix repl -- my-script,scm --option1 --option2=option-arg arg1 arg2
+Exemple @end
+
+Exécutez @command{info \"(guix) Invoquant guix repl\"} pour plus d'informations.")))
+
  (entry (commit "b460ba7992a0b4af2ddb5927dcf062784539ef7b")
         (title (en "Add support to boot from a Btrfs subvolume")
                (de "Unterstützung für Systemstart von einem
-- 
2.26.2





             reply	other threads:[~2020-06-15  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15  7:35 Konrad Hinsen [this message]
2020-06-15  7:51 ` bug#41867: [PATCH] news: Add entry for script execution via "guix repl" Ludovic Courtès
2020-06-16  8:25 ` [bug#41867] " zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1r1ughjdf.fsf@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=41867@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).