From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 mUZLNH7lP2PcEQAAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 10:38:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qLpRMn7lP2OMOQEAG6o9tA (envelope-from ) for ; Fri, 07 Oct 2022 10:38:22 +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 980732111E for ; Fri, 7 Oct 2022 10:38:22 +0200 (CEST) Received: from localhost ([::1]:43398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogis9-00072e-Ox for larch@yhetil.org; Fri, 07 Oct 2022 04:38:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogiox-0005az-E1 for guix-patches@gnu.org; Fri, 07 Oct 2022 04:35:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogiow-0000sF-Ty for guix-patches@gnu.org; Fri, 07 Oct 2022 04:35:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogiow-0006YF-NV for guix-patches@gnu.org; Fri, 07 Oct 2022 04:35:02 -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: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Oct 2022 08:35:02 +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: Liliana Marie Prikler , 58339@debbugs.gnu.org Received: via spool by 58339-submit@debbugs.gnu.org id=B58339.166513169525161 (code B ref 58339); Fri, 07 Oct 2022 08:35:02 +0000 Received: (at 58339) by debbugs.gnu.org; 7 Oct 2022 08:34:55 +0000 Received: from localhost ([127.0.0.1]:34288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogioo-0006Xj-Vf for submit@debbugs.gnu.org; Fri, 07 Oct 2022 04:34:55 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:35624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogioj-0006XJ-2w for 58339@debbugs.gnu.org; Fri, 07 Oct 2022 04:34:52 -0400 Received: by mail-wr1-f48.google.com with SMTP id u10so6186774wrq.2 for <58339@debbugs.gnu.org>; Fri, 07 Oct 2022 01:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date; bh=8/ywrODQz6oFN0Lg4rYYPfFD8S8e7ez3kXv4dgkJVvE=; b=FCoDpjA6X5rq/FnkjkVHsEmMfg3/6qIal5375TiYvNQQbROJ4iqifTuNv6FuODeEuG VjtQbDOo9V0VO9TsINHv4PNnalgqXc0xnGs3VQoM+6ttu43U+0qR+oRhRKrGvyHOzXRD GdaH6R2e8XJtTZxoYgJ/XXDjhILsozEpObixPGctJZW02UHEei9oaIFkiFo3LOuVluPT ivwrqHX8KRGVnC+N3KF2J6pEMeogDkGzidJggkquCybXjcc7GVQQSfVgO3NUJdX2IxLA DcLqJduoO7QF+hmb+jx5Cq7TTSdGCoR6BnVUEGzxpibqHrlb7uhHo2sJzF82ymGRnWj0 uPlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date; bh=8/ywrODQz6oFN0Lg4rYYPfFD8S8e7ez3kXv4dgkJVvE=; b=uU9YzpuF4MPW7FCWMPckUb4mV3L52B8STnT8HMEDfA2bzCQruIAeOY512c/Pkjn+bs Z+NPhKOCWdtas/n+MEQjQfHrzmfhPI5LSmAZQkdzUpyOt/sxJi8akuV02yGUS4QcR599 cnlgv2fb3/UGWK9dDgl9YJwO3UsQNheoaIw9a1sdypO+Cq1d0RD4Oz9M6hEdbzmN/ers ETFaqPn/WkbxxYVtWWedcRtsfXkSKDW213fz0mNx3Al5NhcbhI0x5CoQY/IJt9pK+nSk FwW5OekZjNAKo27ecrhYMP0tYkgASeb2phDELDJiHRQ9NG0RH5wIq6tGDQ9G1uCnXzPY HtaQ== X-Gm-Message-State: ACrzQf3vVlZR+/WvSP/3Zc6xXPxQlODUyZE6dHZmDpzUTrQst+uKLSbh VT3dk9LabvHl46TJxS6WrlfklKfHTjg= X-Google-Smtp-Source: AMsMyM5ffNYy7iMT76c5fo3aE21Tz0KJ3T8AB0LZxhalBfiExvAPKzZ8PzKiEMkiQ+MpqnY66Y3sXA== X-Received: by 2002:a05:6000:681:b0:22a:3007:df45 with SMTP id bo1-20020a056000068100b0022a3007df45mr2295320wrb.149.1665131682954; Fri, 07 Oct 2022 01:34:42 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id z12-20020a05600c0a0c00b003b497138093sm1588774wmp.47.2022.10.07.01.34.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 01:34:42 -0700 (PDT) From: zimoun In-Reply-To: References: <20221006163935.2282212-1-zimon.toutoune@gmail.com> <20221006163935.2282212-2-zimon.toutoune@gmail.com> Date: Fri, 07 Oct 2022 10:21:06 +0200 Message-ID: <871qrkujrh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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=1665131902; 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: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=8/ywrODQz6oFN0Lg4rYYPfFD8S8e7ez3kXv4dgkJVvE=; b=Nai6PLUJ01EpSax/OWdwvUBIyZiFWiQLABopBqv9ZU07hv7QJ9qgbJg0JLkM6zkIqiFLU7 H4Y6OLGLJbaD5Drgwv1GTGhJdBlZhJcZ1MDgm83eaBS9Qk4S7bV1kiF/hAA51dhN/UiXFd //nvHOuzL0ashCKiSOi6iSenHi4ncpS5lrg1gSlmZVuov1yuICGMpGlEQzsdr3Di6LGQ3f 8YMbeFGJ9Rj0MwG6lh04CAPFHmjFKGcvSYo7bICgLhXn735MHnn6VqcUwXjiqZ4S4ncirN FDCARm0Hy+MC617ruG7fExTR06W7cGypYfD3vcdPbNFQLdeO09MAlbqnw54Zwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665131902; a=rsa-sha256; cv=none; b=WVv7QUFBBxlZw40E+bbqVQF2kD4qbOss/72UKHQToGUrpNJCeU2SOBfGg1AvC3U0Prc+zy lQ7LGetm7JvSzxyMkevoOYhrkurC5PIKUOoC+QQodxwwUbmVWh6/+kGahOrl/YmpvZpEkd szHmsYVOkrA8WTvPpa3VoqNFqKjCCnBdwS+SMIgWfUCLfH+QV27FLOzvZYUKGkPrdgvboJ V3iX3WD74sWD1MncWYgvNxic2CEpwO3x1OnLmKFRdUFGY2+7GBg+pisjTOELi9H+oVRy0u 6sMgholbpyEjioVctvIjbCZLEtdfT71T6ZrTKaoWm/dVzK12RcIw04vkM5ACrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FCoDpjA6; 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: 7.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FCoDpjA6; 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: 980732111E X-Spam-Score: 7.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q+zJGUqpoIBK Hi Liliana, Thanks for your feedback. On jeu., 06 oct. 2022 at 21:58, Liliana Marie Prikler wrote: About this: > 2. Testing the extension via `guix shell' 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. For instance, let consider guix-modules [1]. It reads, --8<---------------cut here---------------start------------->8--- $ guix install guix-modules $ export GUIX_EXTENSIONS_PATH="$HOME/.guix-profile/share/guix/extensions" --8<---------------cut here---------------end--------------->8--- and if instead, one uses a shell, it fails: --8<---------------cut here---------------start------------->8--- $ guix shell guix-modules -- guix module -h guix: module: command not found Try `guix --help' for more information. $ guix shell guix-modules [env]$ guix module -h guix: module: command not found Try `guix --help' for more information. --8<---------------cut here---------------end--------------->8--- Note that the variable GUIX_EXTENSIONS_PATH is listed in etc/profile, --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. You may want to define the 'GUIX_PROFILE' environment # variable to point to the "visible" name of the profile, like this: # # GUIX_PROFILE=/path/to/profile ; \ # source /path/to/profile/etc/profile # # When GUIX_PROFILE is undefined, the various environment variables refer # to this specific profile generation. export GUIX_EXTENSIONS_PATH="${GUIX_PROFILE:-/gnu/store/qhfy9wwzg98a0j3i88qaxdmy19rvp0s8-profile}/share/guix/extensions${GUIX_EXTENSIONS_PATH:+:}$GUIX_EXTENSIONS_PATH" --8<---------------cut here---------------end--------------->8--- Well, another issue with extensions. :-) 1: Cheers, simon