From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aCdxIl0QemA6cwEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 00:31:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oOVSHV0QemCRPAAA1q6Kng (envelope-from ) for ; Fri, 16 Apr 2021 22:31:57 +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 0E9392B6D8 for ; Sat, 17 Apr 2021 00:31:57 +0200 (CEST) Received: from localhost ([::1]:60542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXX0G-0006mv-6g for larch@yhetil.org; Fri, 16 Apr 2021 18:31:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXX05-0006mc-MQ for guix-devel@gnu.org; Fri, 16 Apr 2021 18:31:45 -0400 Received: from mx1.riseup.net ([198.252.153.129]:48440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXX03-0000nY-DL for guix-devel@gnu.org; Fri, 16 Apr 2021 18:31:45 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FMWCd1mgqzDqCq; Fri, 16 Apr 2021 15:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1618612301; bh=0V6rbsupY9YvaXrjKqRfe/T5y0hDj2Mth6Xx9CY6Od4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YiHcZlp7OQnmrhJJCbMiI0cx4QZsWecP4A2iwQymcf/Eu7btkdx8sx7NHrTVhjW/d jSJQmdlPx+lJxBNqsux8SdPZH8+hE7XJrIsDJdV9+iWmvZh2qa6Ki2fhadHL20rdiR P9VwhAfCgav5VSk6yuo1c3TJKQFIa00xiZ/i2g+Y= X-Riseup-User-ID: 90BAD753EA03719F4ADBECC4129841C80DDA5B0160D02CD590EF4DDFCAEB9DC5 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FMWCc2PK0z5vS1; Fri, 16 Apr 2021 15:31:39 -0700 (PDT) Date: Fri, 16 Apr 2021 18:56:19 +0200 From: raingloom To: pkill9 Subject: Re: Idea: when in a guix environment, have guix install packages by default to that environment Message-ID: <20210416185619.2bbdb8b1@riseup.net> In-Reply-To: <20210416170926.0965910c@runbox.com> References: <20210416170926.0965910c@runbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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=1618612317; 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=FzQLzKygq6iw8EnHq6ZAIHXS3uZqjgJC3paKgosAC4o=; b=PFxnqdRkIwzh023qXTQLClLoVpSPjNzGEJkrfYscZL0587GcrQuCrHFU8CInk+1chScLoA 0ViaFjDxGIooWVJx0JYuSfW7z6cOlSmSsox30s9QVhO09B3ceGVwP2aCA3Q9gcxtJohoGg zl2srKJhMFiJoEWkdv4UuKP0dsMOBPZEQN2nhrQj/ETbpAk3I7Lv5dbbmWpp2nUSQZngUI th+Sy/PQyH5fqzs53RhWm8EOBHLEE6wWJ+KN9vAj/i9v51mtchtq2Afl3+7u7ZksDxGgwb /0HAQVRepvEMdTVCayb0vuCTkNxmznGQOfs/fL1g8fv4l1K4Ecudbs4KJ1ylIQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618612317; a=rsa-sha256; cv=none; b=Zr5GWE3o/lFpVkpsbqJwsMhXyJ4P05ufn1N1VMLGwXj7qRjdMSK8pwqniw9SIik5lv3Lut oP1ETE7QFYTK4wrfcRrmxhdStEHaDIWXIR7LXyku/dcfLkDZ2jXBiJIWgSw1gP4KvJpCwC LDIARy8/DcEgFfXJcdD/B+1jNtxTVIx5DgtGxj7mNk3NuyIRWoiW0NeufZJEaMPW65wMFh M+VoVlQGZ2Fw+z8Un08I1E2dDq70lVSyGYjwdNGj7V3d5oYKH3qREyJ7GAkiFUQMJ88xL4 JC0Excvxq7vwTQLcd1SWp29B44vajWj1eet4hScwVoNs8dxfC8RcJphJE3BcoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=YiHcZlp7; dmarc=pass (policy=none) header.from=riseup.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.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=YiHcZlp7; dmarc=pass (policy=none) header.from=riseup.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: 0E9392B6D8 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: l5hqu3z86Lbs On Fri, 16 Apr 2021 17:09:26 +0100 pkill9 wrote: > darth-cheney asked in IRC if from inside a guix environment you would > install the packages instead of pip/node, and maybe having guix > install packages to current guix environment would be a good idea. > > Possible issue would be how to change the current guix environment to > the new profile, without creating a nest of environments for every > `guix install` or `guix package -i`. > You don't have to source the environment again if it was source with GUIX_PROFILE defined. I have some notes about this on my Gemini memex that go into more detail: gemini://blobpat.space/memex/guix.gem http proxy in case you don't have a Gemini client at hand: https://portal.mozz.us/gemini/blobpat.space/memex/guix.gem You can also add things to your current environment with source <(guix environment --search-paths bleep-bloop --ad-hoc whatever)