help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: containerized shell


From: zimoun
Subject: Re: containerized shell
Date: Fri, 29 Apr 2022 17:35:42 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]