From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2FIJFxdQA2MiRwAAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 11:44:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mL/IFhdQA2OBagEAauVa8A (envelope-from ) for ; Mon, 22 Aug 2022 11:44:55 +0200 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 CA92B9171 for ; Mon, 22 Aug 2022 11:44:54 +0200 (CEST) Received: from localhost ([::1]:51774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ3zJ-0002S4-NT for larch@yhetil.org; Mon, 22 Aug 2022 05:44:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ3g6-0005gZ-Iz for guix-patches@gnu.org; Mon, 22 Aug 2022 05:25:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ3g6-0001OR-9E for guix-patches@gnu.org; Mon, 22 Aug 2022 05:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ3g6-0005Cj-4m for guix-patches@gnu.org; Mon, 22 Aug 2022 05:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57317] [PATCH 0/2] Implicitly set GUIX_EXTENSIONS_PATH in profiles. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Aug 2022 09:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57317 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ricardo Wurmus Cc: 57317@debbugs.gnu.org, GNU Guix maintainers Received: via spool by 57317-submit@debbugs.gnu.org id=B57317.166116025619927 (code B ref 57317); Mon, 22 Aug 2022 09:25:02 +0000 Received: (at 57317) by debbugs.gnu.org; 22 Aug 2022 09:24:16 +0000 Received: from localhost ([127.0.0.1]:37821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3fM-0005BL-3a for submit@debbugs.gnu.org; Mon, 22 Aug 2022 05:24:16 -0400 Received: from flashner.co.il ([178.62.234.194]:45246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3fI-0005B2-RF for 57317@debbugs.gnu.org; Mon, 22 Aug 2022 05:24:14 -0400 Received: from localhost (unknown [31.210.177.64]) by flashner.co.il (Postfix) with ESMTPSA id AEBDC40160; Mon, 22 Aug 2022 09:24:06 +0000 (UTC) Date: Mon, 22 Aug 2022 12:20:35 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Ricardo Wurmus , 57317@debbugs.gnu.org, GNU Guix maintainers References: <20220821131222.12411-1-paren@disroot.org> <87v8ql1itz.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v9AxkE8FCxbzNVTt" Content-Disposition: inline In-Reply-To: <87v8ql1itz.fsf@elephly.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661161494; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=I4+AMhpouIGLdXrb9Od2+KPTGkyoJizH/DyzynoZS90=; b=Fl0DBGoklgyLNCgWCeWOZPwPnDgwBeUhx1Mx5GBsFWB7qBSRCmYsK7zn5xyjVsfSyFnxkD OeKdimb4+md9bLtSozBj3Io7nh7IsGZVJxoYEoDov6+YI6yryCborrh6suUa3xVoOseg9e RZbt0iLUmYh0DNUq4HDcg2PHpWp16m+jbOHMgMHTtaio3xf6HlHn0rHkr84gjbq5vJvzSY KV9z65aTJWGvvkj/zSYt7hdIeSf8ES4C5RnuP/Mh51PWKBrASNJbi6o2tPJc9CSxpcAZm4 twYcLmq+Zq4polWJNrbS3KeVY+5Y0DhkPuUgKzZakcutstsfxObM9fpNlIiUtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661161494; a=rsa-sha256; cv=none; b=iGwmYePkQvoLeequCPfG3ascSdRdZO62TUBu2aM0FOkX75YLUGhoW+TdIwedSdrNAwDrUb eBvh8Kl+TyIbgwP5yIuUbkv0Z5vO+tqiw/AtQ0z1bub+B5kpghvjbAIIJ6stYTXwJCr/k/ 2q+mX0XPML2u+2qNw/cuqzfQ7Nno4kWXI3FK5ahZGYg3yD0Hln/c0iPukURPogc8pvAHCY D2gRTROJ9e39lFQvHo6Aglne/ZYf7T882SmepSLylXPORDKMFszb2mFDCwXcj7iiMMTXMW rbpY5Tn0phrwFJyfGOwABlEZ+Iq5DK8shV6jIW6L32HH+AMISnpIm0im/nAGzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CA92B9171 X-Spam-Score: -4.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: /VNd9uXlFyEU --v9AxkE8FCxbzNVTt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 21, 2022 at 09:41:41PM +0200, Ricardo Wurmus wrote: > I agree with Maxime: this looks good, and I also think that other > variables could be set unconditionally. >=20 > Yes, it=E2=80=99s a little inelegant to set environment variables like th= is, but > for GUIX_EXTENSIONS_PATH I think it=E2=80=99s warranted, because Guix is = special > anyway. >=20 > So +1 from me. >=20 > I=E2=80=99m CC=E2=80=99ing the maintainers to perhaps get a comment on th= e general > approach for the record. >=20 Not with my maintainer hat on: I tried to create an extension a while ago and it wasn't entirely clear to me how to force loading extensions correctly when testing from a guix environment. By removing the notes about setting GUIX_EXTENSION_PATH to ~/.guix-profile/... we allow Guix to use actual search paths like we do with other environment variables so we can use it with guix-home or other alternate profiles, such as the OS config. I took a minute to look at my extension; I had to set GUIX_EXTENSION_PATH to an absolute location, not a relative one. Normally we'd tell people they have to install a package to make use of it's search paths, like reminding people to add python to their shell invocation, not just python-pip. In this case we DON'T want people installing the guix package, so we need to make the environment variable available another way. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --v9AxkE8FCxbzNVTt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmMDSmAACgkQQarn3Mo9 g1GuixAAkut6lKv7iBMTCG75mtzWLcQgiZ4pyG2RlHynkmpwwY22gk/FOa/98AXz D0XO3vMr3tM8KIl5akEP/ASKsp2vEdRDyKVRQNk5o3PCKNk+MjJnWqbLPc2K7GSt RxrEFQOjm0+T0eyo326ddHoRe0TfCPbk/WeZY/m28E+OxckWoCqc8LclLE4JCu3J r1XsI/+N1fDM6nk7o0/HJ9W0e+3RB2cSZprc9hu4nIt2iSSFhrcEH3iHF+lD6ceg ff9UPN2RIfzYbTOTS4gx1Fw47Yp8M6MmvTICr6WS8eQSfuse8iyq7bV83k1MniLT 3vZbA8CvxAa1irtvGRo7tEUmDE6atam1Oaauu67gC9zyoYlN70m9BtEPUzK0Y+LZ tqftWk8YhOObG8KFcVcbZiGryGvGpfv8MptHQfVZwxl8FOqarXPCRaSfeawpFx6R wAkYdt6L45XPzapdtx7Iu8iwUvWDlQhqSKUP0BZCAwXzEt843taDZc1OI/Ot7ywQ 6VfTUCiMnQNMqGv0ZHXWQE2w91e7DdK3aZrquL9uo3L7ZeyODlLsTsTem2yEgWx2 RQNEwvvtcLR4Uhmfti+gUBWxc1qtThfu3HWVv1FuZOXF0AAiNY4SkVse82Zxr4E4 k7/Kj5dnG7NJyh1NlRwIrAX1f7F8yErKqGjNhX6NVYQtRdRezvU= =F2cL -----END PGP SIGNATURE----- --v9AxkE8FCxbzNVTt--