diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-10-13 09:34:15 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-13 09:34:15 +0200 |
commit | 2c11e857afc4f231183ac7769ca053fd637f005e (patch) | |
tree | d3e4a7e6cca4dcbc664ec64a41e98a6b85eccbef /etc | |
parent | c7ba5f38b80433b040d3946b8fc0b1e8621ba30a (diff) | |
download | guix-2c11e857afc4f231183ac7769ca053fd637f005e.tar.gz |
news: Add entry for 'guix shell --emulate-fhs'.
* etc/news.scm: Add entry.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/news.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/etc/news.scm b/etc/news.scm index 9546568dab..37412d6550 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -26,6 +26,41 @@ (channel-news (version 0) + (entry (commit "c7ba5f38b80433b040d3946b8fc0b1e8621ba30a") + (title + (en "New @option{--emulate-fhs} option for @command{guix shell}") + (fr "Nouvelle option @option{--emulate-fhs} pour @command{guix shell}")) + (body + (en "The @command{guix shell} command has a new +@option{--emulate-fhs} (or @option{-F}) option. Combined with +@option{--container} (or @option{-C}), it emulates the file and directory +layout specified by the Filesystem Hierarchy Standard (FHS), providing +@file{/bin}, @file{/lib}, etc. within the container. + +For example, the following command runs @file{/bin/ls} within such a +container: + +@example +guix shell -CF coreutils -- /bin/ls +@end example + +Run @command{info \"(guix) Invoking guix shell\"} for more information.") + (fr "La commande @command{guix shell} dispose d'une nouvelle option, +@option{--emulate-fhs} (ou @option{-F}). Avec @option{--container} (ou +@option{-C}), elle permet d'imiter la disposition des fichiers et répertoires +spécifiée par le @i{Filesystem Hierarchy Standard} (FHS) en fournissant +@file{/bin}, @file{/lib}, etc. dans le conteneur. + +Par exemple, la commande ci-dessous lance @file{/bin/ls} dans un tel +conteneur : + +@example +guix shell -CF coreutils -- /bin/ls +@end example + +Lancer @command{info \"(guix.fr) Invoquer guix shell\"} pour plus +d'informations."))) + (entry (commit "28ade1bab207974cce6a014e7187968511fc5526") (title (en "@option{--with-source} is now recursive") |