From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MNcXMZub0F/PTQAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 09:40:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WMnPLJub0F9OUAAAB5/wlQ (envelope-from ) for ; Wed, 09 Dec 2020 09:40:43 +0000 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 9FA8F9403EE for ; Wed, 9 Dec 2020 09:40:43 +0000 (UTC) Received: from localhost ([::1]:51614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmvxg-0002oo-RX for larch@yhetil.org; Wed, 09 Dec 2020 04:40:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmvxS-0002oR-Rd for help-guix@gnu.org; Wed, 09 Dec 2020 04:40:27 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:53093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmvxQ-0004OG-LS for help-guix@gnu.org; Wed, 09 Dec 2020 04:40:26 -0500 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 3233410000F for ; Wed, 9 Dec 2020 09:40:17 +0000 (UTC) From: Pierre Neidhardt To: help-guix@gnu.org Subject: Fast `guix environment --container' switch Date: Wed, 09 Dec 2020 10:40:17 +0100 Message-ID: <87o8j35ncu.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@ambrevar.xyz; helo=relay11.mail.gandi.net X-Spam_score_int: 0 X-Spam_score: -0.0 X-Spam_bar: / X-Spam_report: (-0.0 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.777, PDS_OTHER_BAD_TLD=1.318, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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-TUID: oHmICw4z1HaT --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Guix! `guix environment --container ... -- my-foo-program` is great but a bit slow to start. Is there a way to speed this up? I know that without --container, one can use --root to create a link and source the etc/profile from there. Is it possible to switch to such a root in a container? Alternatively, how do you load a etc/profile purely, i.e. without inheriting from the parent environment, just like --pure does? Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/Qm4ESHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/ZcQH/0Bn7MNw88qoSXQjwFchsZ1IeCffGuEH EXq3lyUnkjKODlpoAjiY9zjJCcLszaEC/MDjNeZo617nBgUsh5qGBw2eI+dDn+A6 5/GFcfA6OP404Q/lDi9pDQ/3ucS0KnG2PHvHmzRW7WhNdoNY6j/YW8xOWEg0LAGm 0o5WyheFLnX0oO9qdnhaqLoCluU2w5ZErvFZxJzMaFcrPfrjijRx754AZ8dfY6HB Swn4DFsTTZ0RUTV7qkCqdqIOc/v6cNTD2i7+Zx+2n7kctmbjPAsWU4TDlqwhe4Rv FGBcqNiDUyZfwVOwxXfWoDcMkiDnIbA52ROGwRpG6pJWN68a/roSIGs= =C9my -----END PGP SIGNATURE----- --=-=-=--