From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 wK1jEFru82FZyQAAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 14:23: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 mp11.migadu.com with LMTPS id AOivDVru82HBtgAA9RJhRA (envelope-from ) for ; Fri, 28 Jan 2022 14:23: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 9AA953141A for ; Fri, 28 Jan 2022 14:23:37 +0100 (CET) Received: from localhost ([::1]:53132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDRE0-0007x9-QV for larch@yhetil.org; Fri, 28 Jan 2022 08:23:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDQPJ-00057b-Ti for help-guix@gnu.org; Fri, 28 Jan 2022 07:31:16 -0500 Received: from mout01.posteo.de ([185.67.36.65]:40585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDQPC-0001aW-EV for help-guix@gnu.org; Fri, 28 Jan 2022 07:31:10 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6FD16240027 for ; Fri, 28 Jan 2022 13:30:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1643373031; bh=wXO4XcyJ/7q2OaI9T+elo3NLlWyRwF/XsekHOyEOs5s=; h=From:To:Cc:Subject:Date:From; b=Q6OH961KitEOKo20d5aXwGd9K9Yreoc12R+07M+shPrbSy7XfRrqHBjiUErU2RoZ5 LLf//AnUIsBSkTsTKqPg9w1RGAVVHxxYYKjP/8aLkzPei8uvXqXa1IgswDiNvSL/5f cdLIGEUWiveHW31YlRiMLHrLM1/qsfCDOQdALgmlw3tzqli4k4iHy372eFXBTWnxri R02LRdCn4DflId4LRv0RPb61diaWtAlkgfHFxXhGDc/v9h/8fSPf49p91hOmOS6/0Y 05JKKQxmMcXGzQs7i6N/fmWwwKK1L8p/GyRHf7rLKP8XD+/nXATbeQMi0myG5sn38n aEZjlSG3K2JiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JlcHT5JJsz6tmW; Fri, 28 Jan 2022 13:30:29 +0100 (CET) References: From: Guillaume Le Vaillant To: Konrad Hinsen Subject: Re: Permanently available environments Date: Fri, 28 Jan 2022 12:24:39 +0000 In-reply-to: Message-ID: <87tudo2gbh.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643376218; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lR0j+tjWe9auWc/6BqmJtbQZno9vJFi7p8GlcJvRXrs=; b=T4YA/0BTMUZA8Ri0cDaWV0pVm3fbvIss/LgP8+dIXmiM9SZe7YTof7/1m5gFfxC60LbFfQ V+Ro599aQHsCCX/i8riyn+/YhhCsdvw6BxtDZLSMDTFr3q8Wq48+OWauhtf/AfbqwEx7ZL VoyYAO4m2Le73rtjr9AR9ewkni93bQfPxdh7ClrG/bVVou4tDgjznoqPLnTiq6ThbD9u86 LLLx/0UbNcrwNURTfOpbQbFFyTu/YqKDvfo5pi/2u2aRzWF6tyqXiB7gSZR3ru3cu7APGI NpO75kRcV4KTBxFaryqyV5E0Jcpwu8iGPQLywXVa+UnGuPFlIYTaZIzp2UGrCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643376218; a=rsa-sha256; cv=none; b=NEDDFvho0tKE26pJaddPA9rEvdu+K8IWlRTEZLGzGDpE9r1LgbLwFxcpfn0MpX33IDIp+N ZH3yY6byVXn0nguzlo65OLlO7M8K7kagne/Hg6cpSBJ1JwtQ7qGymtxwZRVRG6QD50fAtz rfVKBvxd+IwiC5ZH1C0L9cyoR74gWzuX3ZuCkpSeesdGTmrjGbKtjQk/x4gmtfTC+hTJsy cUCOCttA9GkuxdVsdkIZHA49295SBJdzx2MMAZNu8Hn86pm8ADHlZkwZTAVdVU871lV0mQ x/jb9iF5VBnzIbOQZxJN+oJ00ePR4jRO4lsgr4UnYpif5McA072rKxW/aXXdNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Q6OH961K; dmarc=pass (policy=none) header.from=posteo.net; 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: -8.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Q6OH961K; dmarc=pass (policy=none) header.from=posteo.net; 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: 9AA953141A X-Spam-Score: -8.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7VEWciQNk16V --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Konrad Hinsen skribis: > 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! > > 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. > > 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". I have to specify the packages with respect to the current > Guix version (last "pull"). So if I want to protect against updates, > I have to use "guix time-machine" with "guix shell". Which is fine > in theory. > > 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. > > Did I overlook anything? > > Cheers, > Konrad Hi, Wouldn't creating a profile with something like guix package -m path/to/manifest.scm -p path/to/profile and then loading it with guix shell -q -C -p path/to/profile do what you want? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYfPh4g8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8ceQD/Swee7GVEfpPeUBXjXNG8DKHWMfzewAeHYksW MMZmqpcA/2mcMw+39GMjiOdtJOD6N7fYndK1HbVJma4MHhTLm1Jl =unLT -----END PGP SIGNATURE----- --=-=-=--