From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0AkpB5NyQGFFzwAAgWs5BA (envelope-from ) for ; Tue, 14 Sep 2021 11:59:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aA3iApNyQGG4FgAA1q6Kng (envelope-from ) for ; Tue, 14 Sep 2021 09:59:47 +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 9B57610D67 for ; Tue, 14 Sep 2021 11:59:46 +0200 (CEST) Received: from localhost ([::1]:36348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ5E9-0004K5-IN for larch@yhetil.org; Tue, 14 Sep 2021 05:59:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ5DL-0004Hx-A3 for guix-devel@gnu.org; Tue, 14 Sep 2021 05:58:55 -0400 Received: from mail.thebird.nl ([94.142.245.5]:43562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ5DJ-0005CI-5Y for guix-devel@gnu.org; Tue, 14 Sep 2021 05:58:54 -0400 Received: by mail.thebird.nl (Postfix, from userid 1000) id 024201025; Tue, 14 Sep 2021 11:58:48 +0200 (CEST) Date: Tue, 14 Sep 2021 11:58:48 +0200 From: Pjotr Prins To: Lars-Dominik Braun Subject: Re: Named environments Message-ID: <20210914095848.5ia4ygmxpo4x7hze@thebird.nl> References: <87wnnka338.fsf@airmail.cc> <4WH_uctsaulZjYrHDmNui178VC8g56-Vt_oSIsY2FvInhC07RDKAQTEv4A4Ghlh8FTNaZLJY1gDzTdzcH_DmbHL_sAxC9DEFP-co6u0ISEY=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Received-SPF: pass client-ip=94.142.245.5; envelope-from=pjotr2021@thebird.nl; helo=mail.thebird.nl X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631613586; 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; bh=PJkGA5xFVduHaByCRd+ZIiaOcFh+ZckP0ughhNyswy4=; b=mp+GjJK2tRANenKav5qJw2WuOJGN2I2VfX7ROq/v7DwjDLdS76Aoct827O2roXbEadaG7A muWMmPebe5WSwEIHnLKb6UlHpRfidePtFZajBp/OdfRKBq+0SVNVy9Vj/O3JrufGGln1Gw Lo0bymvbBVK5XP1RfxwawewChF3sj3TfstA4e441dMwWlcPtWzKfOWOHUkEvAsAuoj5xwQ qGHy9EKm1tRWpnBpMdaEY1qrjEuF3qK85V1iMTkFQWkCT+iUrsPXUoQpeFV0B7yBljzjcd KKGqaC+/NdSSkPIUxwR7uGyCrTv6L6jgpqK3QOAnQHLmj5YunyIZrpN9/9L7yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631613586; a=rsa-sha256; cv=none; b=aMPXiZ0Yw2s7dNSN5iPoHW+grK15WnBJgONCHlhLMbnLZtcvBewwUaa93zxxbEnngmEYlT uL5nlF9uSxldyhDndIq5YZHc0IotaSr2/fS1IwVo73o5APHa1TzgKYbTGcnR9r7H0sSsfB cHVEbkz6KY1KnwTi1WBs84LqgL/b1Sj6JkmDO0z37TiuptopdTuhNTeQkXQjOWSXJd7S32 XKkvL21K104lsqSvtlqk/9+1ksfDqpQOyMee8nGu4x0XlphAnN4fH8q8nE+M4Pb2az47Hw XuMnxtj03AcqGmQxwd4K9L20lsmNkaJfOwbwpQVNlYZq6sKJ8pgNw/ty1qbgmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -0.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 9B57610D67 X-Spam-Score: -0.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: bOwDlWGmMIP8 On Tue, Sep 14, 2021 at 08:27:10AM +0200, Lars-Dominik Braun wrote: > Hi, > > > - Profiles don't seem to have certain desirable features that Guix environments do, such as pure execution, containerization with or without access to network or certain parts of the filesystem, etc. Maybe my understanding here is superficial and you can actually do this with profiles after all? > you can actually start a `guix environment` from an existing profile > using the -p switch and enjoy all of `guix environment`’s advantages > already. Yes, even with manifests. Typical is to create a profile -p ~/opt/emacs that contains all my loved emacs extensions or, ruby 2.6 with some libs guix package -i ruby@2.6.x ruby-xml ruby-sinatra -p ~/opt/ruby2.6 and guix pull -p ~/opt/guix-latest is another favourite now. Pj.