From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QLlDNuEJbGJ+bAAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 17:53:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uLzXNeEJbGL6RgEA9RJhRA (envelope-from ) for ; Fri, 29 Apr 2022 17:53:05 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E5942B021 for ; Fri, 29 Apr 2022 17:53:05 +0200 (CEST) Received: from localhost ([::1]:47882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkSvY-0002gc-8I for larch@yhetil.org; Fri, 29 Apr 2022 11:53:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkSfX-0007FG-WA for help-guix@gnu.org; Fri, 29 Apr 2022 11:36:32 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:33570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkSfW-00088s-HI for help-guix@gnu.org; Fri, 29 Apr 2022 11:36:31 -0400 Received: by mail-wr1-x433.google.com with SMTP id x18so11333380wrc.0 for ; Fri, 29 Apr 2022 08:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=EcFXTdD1/ZmP7wEOiSB4qQwIqaoMlhSobYAQWhwuwUU=; b=QSUieKVsH8he5lZzrDPp+URrbzIUVktA6lqGDo8PvaFa7z61gzAuXBxl7HVpBiAQvr 4JFMlE/AaDcmbyOkPa+46fQkWvN2GhlfOLTFyEAfaBG8+MQe9wym7wNVvR+9Owzq++rh PW2luEMV/2m/JM+323P3a47nO+mYJuMvYJHfqBDMk33MTM+z9DElCwH3vmLloC0vmptC M/0ADZv+yhkKPfYPBCDf221mGczSkLAIZY2YUfLbYPHg8eOl0EvoGE7y6RISUzP8mhAv TJqrtElFZh5M/8+9HcOZcX2jrrxZj+1W0Gw242FnEgiF358X/j+yKh652QI0C+0VTDfz jucA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=EcFXTdD1/ZmP7wEOiSB4qQwIqaoMlhSobYAQWhwuwUU=; b=vNlMBEdrnFxeWyeXgN9FdbdJYyDKcqDGckHZHWAHw1Tmc/tz6LeHAr062U+2ZRSnnl CUMYEVmmTBDUvzntPtyazJ9kk4IkcsQb4o9hDZNL2pWqcNzTPB12oOS1Yy8Y3BnEHNGD xK3jct5DCYu+lineeJnzYZHFQm7H3r8ZHfX8qpnvRhGwtd41pC8Ynwd4UyiehROQEXyN 7s9P/7NI21QG8fQ9giL9QE7O7l9y+i93GByN/5DGeVhzLiHw7Qx3w1GB6vN5+TUueqYP htvPAr9y2PCfDDJ8HqBHKWZTliOuNwaGQdgwJdfm4ssbecCMLrGEaWqM4xzKcLwzbyp7 zExA== X-Gm-Message-State: AOAM531fATTyHm0QxrujJvVw9EFxKRY7ByNqFAXt30vDURp7Mv3Cvw+c j3POMO8YnwJDjLbcjkf0SFMJs7eKrFs= X-Google-Smtp-Source: ABdhPJyHu2eaKEBPCqkS27vv9mKplsa4YW3MaLLSbiaUrycVen1pvdmToZS+LWXgnJweUmYeZ1ZD3Q== X-Received: by 2002:a5d:498c:0:b0:20a:db70:a246 with SMTP id r12-20020a5d498c000000b0020adb70a246mr20467608wrq.392.1651246589168; Fri, 29 Apr 2022 08:36:29 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id r17-20020a0560001b9100b00207afaa8987sm3191820wru.27.2022.04.29.08.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 08:36:28 -0700 (PDT) From: zimoun To: =?utf-8?Q?C=C3=A1ssio?= Tavares , Guix Help Mailing List Subject: Re: containerized shell In-Reply-To: References: Date: Fri, 29 Apr 2022 17:35:42 +0200 Message-ID: <87y1znc375.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651247585; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EcFXTdD1/ZmP7wEOiSB4qQwIqaoMlhSobYAQWhwuwUU=; b=eGyZR44T7lLozGLEMQY6jvSZeKHiExNmslx4pPh9QAfagnSfEde8asz5qsQFtbXfnYn2ir ewiL/yUPGASQiIoOS5cFA37zDxMxGFwDPfed61rElaTXdd+dRtGjnOeC4fl5PAbwsvOsCz jBfGL2jbD/r0eV2iFof50OJoBvktmu5uFVB+tCLp4QeB6d/iKTb/d0jWa4aYOaDKxbxxrF a9qaZfPgn8RHc7V/XYuwEJRvixEZukiRX+8opZZuNra6J6koZivTg4kgPs0P5io6xncSXD T4hUwceqrSjzdi7mYdGUI69O4ZyUpmCeu+A+/Nz2de4UzStE7Ee6rUMXvTpS8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651247585; a=rsa-sha256; cv=none; b=cXQuDZxjb14QDtn1JFRjW1PP3KgvLb5mLocmlhJrFFrEjgxr9CR3WFw+Z4B/mHbnlezXAg HrUeEUoYTkIZdjJEKqBkyjFyrxb2EXNvZxuqXoizVqDpJBs/7JnSoZ0ped4dRUniWwCMhs jiL93ImJHQGQp/q1hulvNPwikdrAuOp0LSKbIy0q0bbpzAs+DPSTfvvt8Bk+HZLFTQSUJj tEdjS/MbEFd21wGBwhewnv/G5zIPvg1UL4HK8maf8k6gy99I/tbs2eZ4ItlfJ0ENIDeDm0 9SYqODFl8+MZPU0gHoNr8iCWul6pOuM4IkZp7H9NKHlk0AlxjNY5FOR1d/CqRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=QSUieKVs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=QSUieKVs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8E5942B021 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: IUdqCv6uUEpg Hi, On Wed, 30 Mar 2022 at 11:40, C=C3=A1ssio Tavares wr= ote: > guix shell --container --network --no-cwd ungoogled-chromium \ > --preserve=3D'^DISPLAY$' -- chromium The old legacy section of =E2=80=9Cguix environment=E2=80=9D contains this = snippet: --8<---------------cut here---------------start------------->8--- guix environment --preserve=3D'^DISPLAY$' --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 nss-certs dbus -- eolie --8<---------------cut here---------------end--------------->8--- Therefore, this quick adaptation --8<---------------cut here---------------start------------->8--- guix shell --preserve=3D'^DISPLAY$' --container --network \ --expose=3D/etc/machine-id \ --expose=3D/etc/ssl/certs/ \ ungoogled-chromium nss-certs dbus -- chromium --8<---------------cut here---------------end--------------->8--- works for me. Does it fit your needs? Cheers, simon