guix-devel
[Top][All Lists]
Advanced

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

Running eolie in a container (was: bug#46532: plantuml in pure environme


From: zimoun
Subject: Running eolie in a container (was: bug#46532: plantuml in pure environment…)
Date: Fri, 26 Feb 2021 22:53:54 +0100

Hi Efraim,

On Tue, 16 Feb 2021 at 11:32, Efraim Flashner <efraim@flashner.co.il> wrote:

> I have the following scriptlet that someone shared for running eolie in
> a container. I'm guessing it could be modified to run platuml if needed.

> guix environment \
> --preserve='^DISPLAY$' --container --network \
> --expose=/etc/machine-id \
> --expose=/etc/ssl/certs/ \
> --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \
> --share=/tmp/.X11-unix/=/tmp/.X11-unix/ \
> --share=$HOME/.Xauthority=$HOME/.Xauthority \
> --ad-hoc eolie nss-certs dbus --  eolie

>From the manual [1],

--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---

is it not enough for eolie?  Is the 2 lines

   --share=/tmp/.X11-unix/=/tmp/.X11-unix/ \
   --share=$HOME/.Xauthority=$HOME/.Xauthority \

really required?  If yes, the manual should be updated. :-)

1: <https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-environment>


All the best,
simon



reply via email to

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