From: zimoun <zimon.toutoune@gmail.com>
To: "Cássio Tavares" <cassio.ufg@gmail.com>,
"Guix Help Mailing List" <help-guix@gnu.org>
Subject: Re: containerized shell
Date: Fri, 29 Apr 2022 17:35:42 +0200 [thread overview]
Message-ID: <87y1znc375.fsf@gmail.com> (raw)
In-Reply-To: <CAJTCCxMbE9tYChZKXLEWErr=9uxLL=9U3UAChVhF-YeJXYmJnQ@mail.gmail.com>
Hi,
On Wed, 30 Mar 2022 at 11:40, Cássio Tavares <cassio.ufg@gmail.com> wrote:
> guix shell --container --network --no-cwd ungoogled-chromium \
> --preserve='^DISPLAY$' -- chromium
The old legacy section of “guix environment” contains this snippet:
--8<---------------cut here---------------start------------->8---
guix environment --preserve='^DISPLAY$' --container --network \
--expose=/etc/machine-id \
--expose=/etc/ssl/certs/ \
--share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \
--ad-hoc eolie nss-certs dbus -- eolie
--8<---------------cut here---------------end--------------->8---
Therefore, this quick adaptation
--8<---------------cut here---------------start------------->8---
guix shell --preserve='^DISPLAY$' --container --network \
--expose=/etc/machine-id \
--expose=/etc/ssl/certs/ \
ungoogled-chromium nss-certs dbus -- chromium
--8<---------------cut here---------------end--------------->8---
works for me. Does it fit your needs?
Cheers,
simon
prev parent reply other threads:[~2022-04-29 15:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 11:40 containerized shell Cássio Tavares
2022-04-29 15:35 ` zimoun [this message]
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=87y1znc375.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=cassio.ufg@gmail.com \
--cc=help-guix@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.
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).