From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 07 04:34:55 2022 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 To: Liliana Marie Prikler , 58339@debbugs.gnu.org Subject: Re: [bug#58339] =?utf-8?B?4oCZZ3VpeCBzaGVsbOKAmQ==?= not working with GUIX_EXTENSIONS_PATH 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58339 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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