From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +E6YOVduQGPfYwEAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 20:22:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kAGFOVduQGPpSAEAauVa8A (envelope-from ) for ; Fri, 07 Oct 2022 20:22:15 +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 658DA3F759 for ; Fri, 7 Oct 2022 20:22:15 +0200 (CEST) Received: from localhost ([::1]:56034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogrzC-0004TN-EJ for larch@yhetil.org; Fri, 07 Oct 2022 14:22:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogrz0-0004Ss-76 for guix-patches@gnu.org; Fri, 07 Oct 2022 14:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogryz-00087E-V0 for guix-patches@gnu.org; Fri, 07 Oct 2022 14:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogryz-0001rQ-MO for guix-patches@gnu.org; Fri, 07 Oct 2022 14:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58339] =?UTF-8?Q?=E2=80=99guix_?= =?UTF-8?Q?shell=E2=80=99?= not working with GUIX_EXTENSIONS_PATH Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Oct 2022 18:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58339 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun , 58339@debbugs.gnu.org Received: via spool by 58339-submit@debbugs.gnu.org id=B58339.16651669077129 (code B ref 58339); Fri, 07 Oct 2022 18:22:01 +0000 Received: (at 58339) by debbugs.gnu.org; 7 Oct 2022 18:21:47 +0000 Received: from localhost ([127.0.0.1]:37344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogryk-0001qv-Uw for submit@debbugs.gnu.org; Fri, 07 Oct 2022 14:21:47 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:35677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogryi-0001qi-Cv for 58339@debbugs.gnu.org; Fri, 07 Oct 2022 14:21:44 -0400 Received: by mail-ej1-f66.google.com with SMTP id k2so13093079ejr.2 for <58339@debbugs.gnu.org>; Fri, 07 Oct 2022 11:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=k3ahC5tG841LT14W1l5/YdYfk4m6IQkdGlRjKm2P66M=; b=GVo5lHuvTm7pMP+uH6Sww7LGWhX35gHS9KlKwvzSFqnbrInMYobh3JwZPJb6mJPPgF 6uOzPaRbwTkD4RvBdqsMPvQzXDTxmEOJWMgCiX0m/cuc8mJFC3RaYydykD0lOJXMyL+F OfClEevF2vgjurCfPNBlyckhG7ofiz3ZiYwMTExgbEGwcLTOKSe5k7C1kTvZgXxS5g+U UIION+XFDqB8fBt4IU+rgCJqmSkLYTwSzW7zBVILPGdkHYMzzWIFHjDfLRxfoT7CaOKj Zj+QA1/LiYry1W9CzTKLUgn3YRUXnwOCl/+vJ6uq2YDGUQolX8ugP7tR5dXhzbbWdXNr d+Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=k3ahC5tG841LT14W1l5/YdYfk4m6IQkdGlRjKm2P66M=; b=sjdLR2UBxvHWACUMBsrZeGuJjNqRrNJpKk8mma3MpK0Ne+JL/RvMPWc15Xat2Ins12 sEsf/mXRYMwR++ixhuDWnRj1AWk0CbLa8+3/61a+brARZa1Aw+WzXrEqVYe1CPjIvFYn jlXZPAUGTG5vlMd9w9IErNupUMYSV7amCYa8D2xr9ySnyC/8DtZ7us4D+LxQ2rCEQg4l +1/hI/s6iCjdtz7MHY6ZqiLt8cGeegNF+bukEp2xminxuPjqWyIxKBXAgaW2chQzJznj Xp4+DlUpFx3OkNFwQCuttA/V04/ordD88ytbdIU+OwXD5XrsXLrPtV/x6JfKrQvuqcvc EHTg== X-Gm-Message-State: ACrzQf0yaonI+cwER/pQmxHazocA4gyNhgC7qFlyzPEYuvfQ9gb7a8Q0 trdNGCN0djWwncoTPy+bVk0= X-Google-Smtp-Source: AMsMyM4ED90Wu9ZyhTxzk83XIFdCnEFfl3AQblXCa/aolbzSp40ooMB7OszE6g9ZAiKIwEw8RNEZwA== X-Received: by 2002:a17:906:5a73:b0:78d:459a:68ce with SMTP id my51-20020a1709065a7300b0078d459a68cemr5181316ejc.107.1665166898189; Fri, 07 Oct 2022 11:21:38 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id mf22-20020a1709071a5600b0074136cac2e7sm1573716ejc.81.2022.10.07.11.21.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 11:21:37 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Fri, 07 Oct 2022 20:21:36 +0200 In-Reply-To: <871qrkujrh.fsf@gmail.com> References: <20221006163935.2282212-1-zimon.toutoune@gmail.com> <20221006163935.2282212-2-zimon.toutoune@gmail.com> <871qrkujrh.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665166935; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=k3ahC5tG841LT14W1l5/YdYfk4m6IQkdGlRjKm2P66M=; b=C80hiJ7grkr72onRmO25KVsLylDQwdsbgjHdxHmnVtjYMiYwXtMttJ4VUQ5sDYnQaMVIbw 2fmXItSiSROoaMTyCSZ+tdLsJ31by+udzM85+ZywiA05k0X9C5QeeYvFwDLo4LlmSvDNEe tK2MUFmLPj0e/8MlIYyVEyfZrndT3hNGbcPMdaT4CgUCByhImbM6HzLC9jxAGzxmk2GmuZ Q8NIKahenlGui4M6r8nDG15fQeLKrMqIZdNuBarf9lWGymEuAAo3bET45my8Z5l7yWr1FM sgDZcGIpqImFIUaJrKJMcOkgaNaD8ntTnCU0dRyPtZLtKZPIxLoG4HqgY9ZRlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665166935; a=rsa-sha256; cv=none; b=diJ2dkbSm2bn5Fl9BA7wLJWH0EiYL5sRXgxqxyylqvfUHuzfuO/9GXpDQfaph3vjIBCyVO CGYlTJuFja7bdBrxJjHcusBtqeJZjIjgxfoVG24+8GhhIKhyZSz1zWwRQAozTBS/nOd6p9 rJZV7cugJ+pVMAIM/EiySYf4jfpAlR0wVkrtZJOHI7Nh0nm0Rw8yghXhPd0h5D0S7xkxxM t8eJ1dpkb7sHqLhgWwOOtH9qLtvhROM0optR71ytXSDLV4oBr3/Q1tgMPowNkfJn+Ti6yg mii1Pf2ZXTWpmPP15JcFOI9teZSA3W5I+pAxj7P/+EPd6sXTqidDFIBCZ2R0+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GVo5lHuv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 6.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GVo5lHuv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 658DA3F759 X-Spam-Score: 6.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: a+zpSRX/Kygk Am Freitag, dem 07.10.2022 um 10:21 +0200 schrieb zimoun: > Hi Liliana, >=20 > Thanks for your feedback. >=20 > On jeu., 06 oct. 2022 at 21:58, Liliana Marie Prikler > wrote: >=20 > About this: >=20 > > 2. Testing the extension via `guix shell' >=20 > We need to open another issue because it is not related to the > current patch (proposal for a simple example of an extensions); this > point #2 is an issue about all the extensions. But that's the point. Simply adding an extension =E2=80=93 whether an exam= ple or an actually useful one =E2=80=93 doesn't teach users how to use them. I= t's missing this very information among other things. > For instance, let consider guix-modules [1].=C2=A0 It reads, >=20 > --8<---------------cut here---------------start------------->8--- > $ guix install guix-modules > $ export GUIX_EXTENSIONS_PATH=3D"$HOME/.guix- > profile/share/guix/extensions" > --8<---------------cut here---------------end--------------->8--- >=20 > and if instead, one uses a shell, it fails: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix shell guix-modules -- guix module -h > guix: module: command not found > Try `guix --help' for more information. >=20 > $ guix shell guix-modules > [env]$ guix module -h > guix: module: command not found > Try `guix --help' for more information. > --8<---------------cut here---------------end--------------->8--- >=20 > Note that the variable GUIX_EXTENSIONS_PATH is listed in etc/profile, >=20 > --8<---------------cut here---------------start------------->8--- > [env]$ cat $GUIX_ENVIRONMENT/etc/profile > # Source this file to define all the relevant environment variables > in Bash > # for this profile.=C2=A0 You may want to define the 'GUIX_PROFILE' > environment > # variable to point to the "visible" name of the profile, like this: > # > #=C2=A0 GUIX_PROFILE=3D/path/to/profile ; \ > #=C2=A0 source /path/to/profile/etc/profile > # > # When GUIX_PROFILE is undefined, the various environment variables > refer > # to this specific profile generation. >=20 > export GUIX_EXTENSIONS_PATH=3D"${GUIX_PROFILE:- > /gnu/store/qhfy9wwzg98a0j3i88qaxdmy19rvp0s8- > profile}/share/guix/extensions${GUIX_EXTENSIONS_PATH:+:}$GUIX_EXTENSI > ONS_PATH" > --8<---------------cut here---------------end--------------->8--- >=20 > Well, another issue with extensions. :-) In case you really didn't know how to use extensions with guix shell, it's guix shell guix your-extension -- guix blah, assuming your extension works with a slightly older guix. Cheers