From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qP6ZMsbr82GjfwAAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 14:12:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4LheK8br82FWmgAAG6o9tA (envelope-from ) for ; Fri, 28 Jan 2022 14:12:38 +0100 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 AEACC30CE5 for ; Fri, 28 Jan 2022 14:12:37 +0100 (CET) Received: from localhost ([::1]:45660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDR3K-0002BF-Nf for larch@yhetil.org; Fri, 28 Jan 2022 08:12:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDPrF-0005Bq-Lr for help-guix@gnu.org; Fri, 28 Jan 2022 06:56:01 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDPrC-00049F-TH for help-guix@gnu.org; Fri, 28 Jan 2022 06:56:01 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1643370956; cv=none; d=zohomail.com; s=zohoarc; b=EQpBStD7cfSQH6n4dxXAYKgedwOj/pKlo7X5xzW+AHwSU5nfcP8wQ73kVXaYMdLUNKD0RFDtVfNuDh/CWxBKMEGF6nKrGZuOxJY0zuaFOZnBafqVA4m+Q8/DxNBgvE0Fcwf+snqmjngcZXeiKJgygTznb5c8Xfy0VIpU9uAHK78= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643370956; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=uAxJ1vkG19niUnDv0l8fS8QP23EeVJmd+FZEZlTdYdE=; b=P3LiNkkRJbRobgxzcqu//KtPq/cU4AW4xgVhDwJsK9KdTG3DLVeewEgntTaflIrNqXY2kudhpCXxM9ouh5epfJglEDi6+szRTuYLjizFUoNXN5cnN+0BCaXg5xYd1YYpaPmM6X2L8nwboOoQrkk1Wzls46EXU0Bq2WlKXwdOqBY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643370956; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=uAxJ1vkG19niUnDv0l8fS8QP23EeVJmd+FZEZlTdYdE=; b=MXKutiYLxbCkTbQBLnM1kP++fj56oVcmNK5WaSBdbLlOXjBDHckqVVC4uPvKSYHe LeqSKBmHqCfPWF+0A8iasjd9IIla+YnBD1QO2lUt9TeNLZ1gctfmGsBO4+KAvquuj6L VreeSSP8HVY4JZeG2fpmsI5moWOGfJ3vjK1PdfsQ= Received: from localhost (p54ad4fa1.dip0.t-ipconnect.de [84.173.79.161]) by mx.zohomail.com with SMTPS id 1643370954952988.9925401096858; Fri, 28 Jan 2022 03:55:54 -0800 (PST) References: User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus To: Konrad Hinsen Subject: Re: Permanently available environments Date: Fri, 28 Jan 2022 12:54:23 +0100 In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87fsp8gjlk.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643375558; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=uAxJ1vkG19niUnDv0l8fS8QP23EeVJmd+FZEZlTdYdE=; b=iPkUMWQ239Rjea1YXKIWTwptlJ96C2HMxs+0/SS0igI5lgZC/AQKLVRK/8HOJ15cFyXt+U g5jMunCzDPh+8gZKhCucro8gpaOWJh+q17kZyIPP4n0sMlS5bK0NSev2IHnjPqYF4Jd5bH jf7JesAIpbEwcLpCjHHGLvgdkh/7Xlr60kRJa1Y9BRqP0k31wcNXlaV0VzStPLV2uq71za oJE2Ss3lTCHR1WganCoeNwop/0MztGaWyulFHO9UZ0WY30sOE94xwiNo62yhFLoIGuwsyr gEdQcPq6JM3+bIT8oYbJkhiqDTYWb9bRHrWvYfkWF8Hbjy+VgqHJ3rWYNXsb+A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1643375558; a=rsa-sha256; cv=pass; b=NBc+9g75ht+oDKEdcO/Hs4EPtVAFU2b+YteraBpCQ/+ZoK0oWoNsIXBuxDw8WBZIOxlyBm rEkBYrrq7WttgCXspJWjSPExHnKiAGFg7uoqBxrMo6Gjsq+8djUugatT6s9zNL9YgEce8v lGILV4unukz9N6g8RzR4M6JaQcZAd2dm/BBAyCH6AcKk6AuDX5HOkzuD/CYilBrMNHuovD YRiXbYsA1wbpVdHqMEDVQ+4pICXWPpu1BNyTkSxzacLofbVyi3WLR3kRm2Q0oe4osHB+QP DVQdUW7bZbo47LCZz/Q0Tlb5Hb+0oYEfoGoOEPoG6lVuq4srCgfJ4iaN8utK0Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=MXKutiYL; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=MXKutiYL; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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: AEACC30CE5 X-Spam-Score: -4.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: JjJVd7VUE0WZ Konrad Hinsen writes: > Hi Guix, > > I would like to migrate more of my software use to Guix-based > containers, but I haven't yet found a way to handle them that fully > suits my needs. The root issue is the volatility of environments, and I > wonder if I am missing some feature to handle them better. Here is my > current reasoning: > > 1. Containers can only be generated using "guix shell" or the older > "guix environment". There is no way to generate a container based > on a profile. Correct me if I am wrong! Not sure if that=E2=80=99s what you mean, but you can use =E2=80=9Cguix she= ll=E2=80=9D and =E2=80=9Cguix environment=E2=80=9D with =E2=80=9C-p=E2=80=9D: -p, --profile=3DPATH create environment from profile at PATH > 2. I have been using a plain "guix shell" for a while, but my > environments break too often after a "guix pull" to continue this > way. Most of my containerized environments contain no > security-critical software, so I'd be happy not to update them > very often (or not at all). That would be trivial with profiles, > but... point 1. You can also use --root. > 3. There's the =E2=80=93root option to "guix shell" to protect my environ= ment > from the garbage collector. But there is no way to say "use the > environment pointed to by that root, no matter when and how it was > created". Oh. You can. With =E2=80=9C-p=E2=80=9D. I have to specify the packages with respect to the current > 4. In practice, I often work with a bad or non-existing network > connection, so I must be sure to have all my packages in the store. > And if I use "time-machine", I must also keep the required Guix > version locally available. But there is no option for that in > "time-machine". The Guix versions it downloads are garbage-collected > after a while. So I can find myself in the situation of having all > the packages for my environment in the store, but unable to access > it without a network connection, because "time-machine" first needs > to fetch an old Guix version again. I=E2=80=99m not using time-machine often enough to know what to suggest her= e. --=20 Ricardo