[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
130/244: news: Add entry for 'guix shell --container --nesting'.
From: |
guix-commits |
Subject: |
130/244: news: Add entry for 'guix shell --container --nesting'. |
Date: |
Wed, 12 Apr 2023 08:48:55 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit c54f125e88540a8c3262de0db6d8442b111537c3
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Apr 6 18:33:33 2023 +0200
news: Add entry for 'guix shell --container --nesting'.
* etc/news.scm: Add entry.
---
etc/news.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/etc/news.scm b/etc/news.scm
index 55d1218df5..a41e0728cd 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -26,6 +26,49 @@
(channel-news
(version 0)
+ (entry (commit "57db09aae73e3713a10c5253758d84e1046f80dc")
+ (title
+ (en "Using Guix within @command{guix shell --container}")
+ (fr "Utilisation de Guix dans @command{guix shell --container}"))
+ (body
+ (en "The @option{--container} (or @option{-C}) option lets you spawn
+a container---an isolated software environment. In some cases, it is useful
+to use Guix from within the container, something that is normally not
+possible.
+
+The new @option{--nesting} (or @option{-W}) option lets you do exactly that: a
+container created with that option will let you use @command{guix} commands,
+including @command{guix shell -C}, @emph{inside} of it.
+
+The example below shows how to evaluate a @file{guix.scm} file to build a
+package from within an isolated container, which is useful if @file{guix.scm}
+is untrusted:
+
+@example
+guix shell -CW -- guix build -f guix.scm
+@end example
+
+Run @command{info \"(guix) Invoking guix shell\"} for more information.")
+ (fr "L'option @option{--container} (ou @option{-C}) permet de
+démarrer un conteneur---un environnement logiciel isolé. Dans certains cas,
+il peut être utile d'utiliser Guix à l'intérieur du conteneur, ce qui n'est
+normalement pas possible.
+
+La nouvelle option @option{--nesting} (ou @option{-W}) résoud ce problème : un
+conteneur créé avec cette option permet d'utiliser des commandes
+@command{guix} à l'intérieur, y compris @command{guix shell -C}.
+
+L'exemple ci-dessous montre comment évaluer un fichier @file{guix.scm} pour
+construire un paquet depuis un conteneur isolé, ce qui est utile si
+@file{guix.scm} n'est pas de confiance :
+
+@example
+guix shell -CW -- guix build -f guix.scm
+@end example
+
+Lancer @command{info \"(guix.fr) Invoquer guix shell\"} pour plus
+d'informations.")))
+
(entry (commit "0e18c5e5bcb9204c278cfc75493d3b02b746d5c3")
(title
(en "Linux-libre kernel updated to 6.2")
- 107/244: gnu: r-openmx: Update to 2.21.8., (continued)
- 107/244: gnu: r-openmx: Update to 2.21.8., guix-commits, 2023/04/12
- 111/244: gnu: r-tune: Update to 1.1.0., guix-commits, 2023/04/12
- 115/244: gnu: r-spacetime: Update to 1.3-0., guix-commits, 2023/04/12
- 119/244: gnu: r-ggplot2: Update to 3.4.2., guix-commits, 2023/04/12
- 120/244: gnu: r-rcpparmadillo: Update to 0.12.2.0.0., guix-commits, 2023/04/12
- 123/244: gnu: r-ranger: Update to 0.15.1., guix-commits, 2023/04/12
- 128/244: gnu: rizin: Update to 0.5.2., guix-commits, 2023/04/12
- 124/244: gnu: pounce: Update to 3.1., guix-commits, 2023/04/12
- 131/244: gnu: linux-libre: Update to 6.2.10., guix-commits, 2023/04/12
- 133/244: home: xdg-base-directories: Set correct value for XDG_STATE_HOME., guix-commits, 2023/04/12
- 130/244: news: Add entry for 'guix shell --container --nesting'.,
guix-commits <=
- 132/244: gnu: linux-libre 6.1: Update to 6.1.23., guix-commits, 2023/04/12
- 148/244: services: desktop: Remove 'gnome-desktop-service' procedure., guix-commits, 2023/04/12
- 146/244: services: base: Remove 'console-font-service' procedure., guix-commits, 2023/04/12
- 144/244: services: sddm: Remove 'sddm-service' procedure., guix-commits, 2023/04/12
- 149/244: services: desktop: Remove 'mate-desktop-service' procedure., guix-commits, 2023/04/12
- 147/244: services: guix-publish: Remove 'compression-level' field., guix-commits, 2023/04/12
- 152/244: gnu: Add libpanel., guix-commits, 2023/04/12
- 212/244: gnu: open-adventure: Update to 1.15., guix-commits, 2023/04/12
- 232/244: status: Guard against a numerical overflow condition., guix-commits, 2023/04/12
- 161/244: gnu: Add llama-cpp., guix-commits, 2023/04/12