From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OFEjNSsjR2A4KAAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 07:26:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mIfcMCsjR2BFVQAAB5/wlQ (envelope-from ) for ; Tue, 09 Mar 2021 07:26:35 +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 1E5842622D for ; Tue, 9 Mar 2021 08:26:35 +0100 (CET) Received: from localhost ([::1]:39644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJWlG-0003oG-6v for larch@yhetil.org; Tue, 09 Mar 2021 02:26:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJWko-0003kj-DX for guix-devel@gnu.org; Tue, 09 Mar 2021 02:26:06 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050::465:101]:61098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lJWkm-0006Hr-0P for guix-devel@gnu.org; Tue, 09 Mar 2021 02:26:05 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Dvmw51RSvzQjx3; Tue, 9 Mar 2021 08:25:57 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1615274755; h=from:from: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; bh=hcrrgRvoRfjoDnr8O4ypFWfW9hjqcZoLkJFbchnbtXU=; b=COX2iCZB14aN0mx2Al611SOeatBSrKxBZHcGMTyKOkE5ALUkAg6p7eyDhCfs5QEWzA4xmI BNirVbGfhUiDxGQbI2c4JZig3aWrRPkD+jZcpDT5EhHdYoLnrE7Tn+x03CSyHmrSfqjIdU iFsoKBi30Moo7+0b9Mvncy3KSyKEg6aZTtuVVNsvGIWVOefc7vJQp1sdTp1hjCHPpYe8At X8bUAucESlKfJ85IYDpHaisjf8JdpVHNr01P76dMeO/qqrjDknBSUfw9zxypeVucabe6d7 9DI9Qb8McFjo6w3HHMCVJVBbyMEu+/8wkpztiMXxT/3TdGb0IaT1j++C3mM8Mw== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id v-pprPrCVBVE; Tue, 9 Mar 2021 08:25:54 +0100 (CET) Date: Tue, 9 Mar 2021 08:25:52 +0100 From: Lars-Dominik Braun To: pkill9 Subject: Re: guix environment --profile with --ad-hoc Message-ID: References: <20210309020542.2f5afd65@runbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210309020542.2f5afd65@runbox.com> X-MBO-SPAM-Probability: X-Rspamd-Score: -3.86 / 15.00 / 15.00 X-Rspamd-Queue-Id: 2A8CA17F3 X-Rspamd-UID: 28e86e Received-SPF: pass client-ip=2001:67c:2050::465:101; envelope-from=lars@6xq.net; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=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=1615274795; 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=hcrrgRvoRfjoDnr8O4ypFWfW9hjqcZoLkJFbchnbtXU=; b=gQDG025pnmHTcICzRc8GYZnFTUUuQrKB72aBVqskOrOmfOOCMJkkZ95WwRo/84aZ7BJCCU ux0dYyjnFQdl9jX+veh4cr0OtK8ggLH+2+KckHAteBXgGVL5PahiH5JzAlw+A4+/20jChe CjPkzLTx2buCZ+B3F8iwYW6EuY278S9Dh9YkLDxx6yCc9qM+kYIfmMawYnw4B4yaWgr67B NHItFJMG3MG8Lu7LHXncRFrHhH/AJBoT8Cs9aHGGRCCFzb+GRMAiI6pwyZsbusOGi5DE3f N+R40GtC06Ve5v42vlY6k+/hECLmOIYSi9/OCh3Rd+GFgvnTAZoLamgS0qnHKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615274795; a=rsa-sha256; cv=none; b=DWJrehGp+1Db7fhWjZY641ARbDYfhL5F+GuQw79Df4V8hexPlRoyFbznarzM6MQPO+vPOn LfD8Iz4NUI2LrYGpKVueXckOkbMnY6L4HXL2ComgE/lRs1m5fvEwj9Hxo69wd2GCsRzqKv vDzpN5TdvhoL7r61NVAjMKjX7+BOQD9Kv5RpgFMsPY3Scj3SM1DY1r0al5bpyi1mrwI+Ih Z5m116aXKI4aAesBgydpAsk8HOC1vGwi8voHpbGZpwNZP8F+WmAt4d3M9xoasXhL5cpsGI JZsRhp8wiN8GhIdWWP/zk408IbYbiygvzg4SKInbrpvKs5dBqyNjYqPPxHbVSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=COX2iCZB; dmarc=pass (policy=none) header.from=6xq.net; 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: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=COX2iCZB; dmarc=pass (policy=none) header.from=6xq.net; 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: 1E5842622D X-Spam-Score: -3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: IDUezXFNjXyh Hi, > guix environment doesn't allow --ad-hoc to be used when --profile is > set. I propose to have --ad-hoc add more packages to the container when > using it with --profile. I wrote the patch that adds this feature to `guix environment`. The idea was to have a way to turn an existing profile into an environment, specifically a container (-C), which is not possible with `source etc/profile`. It’s also very quick, because it does not compute anything to do that. (I think it still does, which is my bad.) Can I ask: What is your use-case? Why not extend the existing profile using `guix package -p /path -i foobar`? Cheers, Lars