From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 03:42:48 2020 Received: (at 41041) by debbugs.gnu.org; 7 May 2020 07:42:49 +0000 Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbBA-0006z7-MN for submit@debbugs.gnu.org; Thu, 07 May 2020 03:42:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbB7-0006yq-OL for 41041@debbugs.gnu.org; Thu, 07 May 2020 03:42:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45975) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWbB1-0006ux-Jd; Thu, 07 May 2020 03:42:39 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35660 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWbB0-00032R-3M; Thu, 07 May 2020 03:42:38 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: [bug#41041] [PATCH] doc: Add container example to run a web browser. References: <20200503081258.21873-1-mail@ambrevar.xyz> Date: Thu, 07 May 2020 09:42:35 +0200 In-Reply-To: <20200503081258.21873-1-mail@ambrevar.xyz> (Pierre Neidhardt's message of "Sun, 3 May 2020 10:12:58 +0200") Message-ID: <87zhakdwd0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 41041 Cc: 41041@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) Hi, Pierre Neidhardt skribis: > * doc/guix.texi (Invoking `guix environment'): Add paragraph and example = to > run Eolie in a guix environment container. Add `container' cindex for = the > first container example, and the `certificates' cindex for the web brow= ser > example. Good idea! > +@example > +guix environment --container --network --expose=3D/etc/machine-id \ > + --expose=3D/etc/ssl/certs/ \ > + --share=3D$HOME/.local/share/eolie/=3D$HOME/.local/share/eolie/ \ > + --ad-hoc eolie coreutils nss-certs dbus -- \ > + env DISPLAY=3D$DISPLAY eolie Instead of =E2=80=98env=E2=80=99, you can preserve the =E2=80=98DISPLAY=E2= =80=99 variable with: guix environment -E ^DISPLAY$ =E2=80=A6 which in turn allows you to remove =E2=80=98coreutils=E2=80=99, maybe. Otherwise LGTM! Thanks, Ludo=E2=80=99.