From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ogINBkwqT2DKUAAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 09:35:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mDc5AUwqT2C/fAAAbx9fmQ (envelope-from ) for ; Mon, 15 Mar 2021 09:35:08 +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 507A02EBBB for ; Mon, 15 Mar 2021 10:35:07 +0100 (CET) Received: from localhost ([::1]:53812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLjcv-0006OB-P6 for larch@yhetil.org; Mon, 15 Mar 2021 05:35:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLjaZ-0004Cb-9M for guix-devel@gnu.org; Mon, 15 Mar 2021 05:32:39 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:42317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLjaX-0000vO-Ii for guix-devel@gnu.org; Mon, 15 Mar 2021 05:32:39 -0400 Received: by mail-wr1-x42b.google.com with SMTP id j2so8279408wrx.9 for ; Mon, 15 Mar 2021 02:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=em8Ejb1eGX7BFGlrFh6bCwm5uVEgKdSnQXUfA240RWw=; b=t43incFoxalsqT14C/mW9uuhcdZc4nZh7DHWi/qWMjl618ZRRuDE8pme/DyyhDCifg 1ZiWOs1ppCZUWAY89dLEvT3aJyygwFUss6JFFrvJruPDP9XezGPVRkAByIVvKgiLKAsN H7QSFNQfIQS6gnregJDKlo7HfjFz+F3VKqfoPrrY956qG+kTq+NbjsYwjjJ2h0PB5UTv A3DqnnEUrv+II9LgG909ZBK73XgAOWT6NbNjyQu1OIgOHnva71UsGI6bvthm+HMholNd z1slKxtQ/yRBwdK7KpnfHwlLVnYrUxD5tAcAOqNGhuh9/topXeefl6RBbUzqW+9/QGCZ lf8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=em8Ejb1eGX7BFGlrFh6bCwm5uVEgKdSnQXUfA240RWw=; b=EGJPaWfDzKJ7UMF1udIZlfAi2ljTzJxPghCKGjhUUA0xOv3o5YdBk9HqO1ahQFo6IY pjbgMkO9R7VBtzGgpu1O9EPifq7zaZlUy1d/sdJdmUoYPSRVrN1Dtdt3/8Srw4EsZGsS SQr2SXcyq20IEiZ7Zw0u+f0q3xTBhhObfvoTEkGnwoF9Sbg+8yClmy5zecF9vJc2ur2X ivex0Jjc2/NZIXlUotRMkcanSQsrqdY+EavI5hXPv8gReK+hccZRwjYQ02w942guyk9d s76Ov9iawjC5hgY3PR4hYgTl9msRJhEp9kv/8wPFHB+IYetD5oZuisfB5PZRH1NN2GG6 4z4Q== X-Gm-Message-State: AOAM5322/JJFvDvrfmTshCQHOxLbznYlqMdST2zpaYwnJIzRV4B1n5l/ 2J5O0hPidOjjmbRPU+ieQ98= X-Google-Smtp-Source: ABdhPJwaVAf9tjvID0SQkdRU4l9Omd5JWK/OM3mbLAOU8+u1hEm9U9YmXxKFzCAHCq2Xg6mCZnZTBQ== X-Received: by 2002:adf:e791:: with SMTP id n17mr26207516wrm.322.1615800756037; Mon, 15 Mar 2021 02:32:36 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j30sm20046963wrj.62.2021.03.15.02.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 02:32:35 -0700 (PDT) From: zimoun To: Lars-Dominik Braun , Pierre Neidhardt Subject: Re: guix environment --profile with --ad-hoc In-Reply-To: References: <20210309020542.2f5afd65@runbox.com> <8735x4agc5.fsf@ambrevar.xyz> <87r1kkml6m.fsf@ambrevar.xyz> Date: Mon, 15 Mar 2021 10:25:17 +0100 Message-ID: <86k0q8db0i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42b.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" , pkill9 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=1615800907; 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=em8Ejb1eGX7BFGlrFh6bCwm5uVEgKdSnQXUfA240RWw=; b=c4R7yyaMKwULLcVyiGBSKvlDa5nOlSfOb5c1tqsDEuCx0EeqoJkMLy0Qx8Y5VhsTVnwRKU oFJA9my50fsdU1k27Y+Q99x+dQguMH2Y1rYk56caVU+oNaDXxBeb0121lJyTDaGFXFRk6V Gs7cHlbMofJwTiCNyBPopO76OW9NSEJ0NcHImiW34Z71vsizdOTuF4iA3RKXGeVH5yjp9H uWKXEnBASaCXWt3K94f1NhanDTiV1ea0VPKRqqEc53p4zlmsxRSXGfN38ZgEdT9Q+KY/RY Vqed3tqjzL3s9MN0FhfdylBb6aGpbqwg0dFibQVxCQKUGJtSQKUdjvNwhLcC3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615800907; a=rsa-sha256; cv=none; b=Jxc389Vs5889G2a8j5uNIsds57/AsPT+dtGCxX2e3u2v4THtvbetN/clKlqNLUg41D23lQ 4C6mOWvKl/OHMoUIKRy8o4nwDa9VX5tNjMUNOaBnncAulpLwjKYtB1r56l6gg0P1Ea+fXD 5rGppFvQb21QE93kbfR8I/E8wlEd1QasgqKWqa9bA3JHV8SQ8c0Xbq7fQgK6wcPIbBFt6F kDF31TDLVproNubIoQS7zJnMYQ9RK0/tWr1PPkY6MgxkqXLB/Tj+lAtY4Hw3Ej9VohDolk LbkQWTVDeM8aUKYd7GP010irIBX1OLJnhe9EbpQn/oAZ18rVB0aVlJdOP0yr9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=t43incFo; dmarc=pass (policy=none) header.from=gmail.com; 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.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=t43incFo; dmarc=pass (policy=none) header.from=gmail.com; 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: 507A02EBBB X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: cwgSZ/0osKVY Hi Lars. On Sat, 13 Mar 2021 at 08:59, Lars-Dominik Braun wrote: >> Instead, I'd like the following behaviour: >> [=E2=80=A6] > hm, I feel that=E2=80=99s unnecessarly complex with lots of if=E2=80=99s = and else=E2=80=99s. If > I could design the frontend from scratch, I=E2=80=99d have one command th= at does > profile/environment manipulation (because they=E2=80=99re essentially the= same) > and one that can set them up for use. In that world you=E2=80=99d do > > $ guix environment $(guix profile -m manifest.scm -i additional-package) For the record, such command (as =E2=80=9Cprofile manager=E2=80=9D) had bee= n discussed, for example: Note that the (still experimental and) undocumented GUIX_EXTENSIONS_PATH allows to test new commands design without writing them in stone. Basically, set the variable GUIX_EXTENSIONS_PATH to the path containing the Guix module =E2=80=99(guix extensions profile)=E2=80=99 then =E2=80=9Cg= uix help=E2=80=9D should list the extension and =E2=80=9Cguix profile=E2=80=9D should work. Cheers, simon