From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0AN2JP10QGOQMQEAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 20:50:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0IdgJP10QGM7MAAAauVa8A (envelope-from ) for ; Fri, 07 Oct 2022 20:50:37 +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 48FA1A39A for ; Fri, 7 Oct 2022 20:50:37 +0200 (CEST) Received: from localhost ([::1]:52790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogsQe-0004Hw-9W for larch@yhetil.org; Fri, 07 Oct 2022 14:50:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogsQD-0004Hn-56 for guix-patches@gnu.org; Fri, 07 Oct 2022 14:50:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogsQ6-0003HM-N1 for guix-patches@gnu.org; Fri, 07 Oct 2022 14:50:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogsQ6-0002eI-7g for guix-patches@gnu.org; Fri, 07 Oct 2022 14:50: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 18:50: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 Cc: 58339@debbugs.gnu.org Received: via spool by 58339-submit@debbugs.gnu.org id=B58339.166516856110129 (code B ref 58339); Fri, 07 Oct 2022 18:50:02 +0000 Received: (at 58339) by debbugs.gnu.org; 7 Oct 2022 18:49:21 +0000 Received: from localhost ([127.0.0.1]:37362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogsPQ-0002dJ-LU for submit@debbugs.gnu.org; Fri, 07 Oct 2022 14:49:20 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:45014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogsPO-0002d5-3Y for 58339@debbugs.gnu.org; Fri, 07 Oct 2022 14:49:18 -0400 Received: by mail-pj1-f51.google.com with SMTP id t10-20020a17090a4e4a00b0020af4bcae10so5451943pjl.3 for <58339@debbugs.gnu.org>; Fri, 07 Oct 2022 11:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IOsLKp45zDVoGlzh+bheXfueRtzyBVXQOZF1e5PinDc=; b=fqaSBqoiqaEDSYIhJwpo2ejl4cLEOLtBaVlXGxPbcRy/iVkKG3iBk5EbP2mgiH5Jbz aG8OgMi1LTrrNUpItovTZ1yoD6vfmA+CGnSNyYZpAGbzCgYkBiGqIj55JIXFnYqfXXrw aPpLLZYNHVpRx2c6TrNMX3W8t9VIbm4hdB+IP6SOYre67+6EzNkIvxyG+XHEE5IztiUz 2NnsehdhzpiEi3wfOqpD3O2xInS2UmtAs/ZW/1Xe9kwIBYa+9bEHAuJfrszcUle5c+Iq /8R1zoGLTYJ8M8JHWopG9PgydQIzYqoJam0cXSvBdCwXjr8GFRKttM5C3OIxhaDN4aWQ V/gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IOsLKp45zDVoGlzh+bheXfueRtzyBVXQOZF1e5PinDc=; b=xg9pRk+PCcdmoWhmo0HVtm3XbbqFx9ncYpKJ9ng23lDTkQq4JjitwRTaFi8+k7D1s0 TutzEIP71+NomPooTNtXBjT0B8nCZPjbfpP6QrPI1CK+h4zT65txnKnDHU/S3GrYX3hS EtNBJfZNYj/IEG6MOvcqsZVrBawMWqlBvgBLIktHEZN5Nwj1DxP71xwiANn3dfV6ibYp aSlIr6CK2EgfVEprW2KMfPrEOAJtjnDUWfjtrOe4JyMWIp9D3cqCH/+/lSNfEoDDFc4H bWez5YIjhxw/jUkZm0e8KnIuflR87RFneURoiYAaQdNua8mfkJPGyJp5vItuRkvlfHyu mQrA== X-Gm-Message-State: ACrzQf0B8A1ECc95flEN5+MBVkIc29RTdTpiwNgn5G3yfD0xijF/bxGi Bm2mZM93Z8GSxiglD7Ll+4E+FSNOWF55fUy8RgY= X-Google-Smtp-Source: AMsMyM5+V6//vJoSsQxaLJn6dBFuL5+2ArGQ1qH8pAfaV3hYTcftrqMeOWuthMN5ooRjGXYF2CfC528fs4QJ6q9SZoU= X-Received: by 2002:a17:902:db12:b0:178:1f91:74e6 with SMTP id m18-20020a170902db1200b001781f9174e6mr6576526plx.100.1665168552284; Fri, 07 Oct 2022 11:49:12 -0700 (PDT) MIME-Version: 1.0 References: <20221006163935.2282212-1-zimon.toutoune@gmail.com> <20221006163935.2282212-2-zimon.toutoune@gmail.com> <871qrkujrh.fsf@gmail.com> In-Reply-To: From: zimoun Date: Fri, 7 Oct 2022 20:49:00 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=1665168637; 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: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=IOsLKp45zDVoGlzh+bheXfueRtzyBVXQOZF1e5PinDc=; b=lQphCRzQedGk4iEKWrNkaOqJoHBFkwJpyJFe7BLvShBom4IOyj/r9hC4EZMDehCvGZdTqW 8WajM4fCg2o7Rh7CwdjKQVj9GnrOnvgbjo0N17Z6s3edQ+jesZV9H5xmAyxNqqtnVssqW2 f7q6eacZt8FggTazp8G0bYAspBz0jvstiLulvSVF2QCAeVAChxxGNZyTgb+vQFHiFHFsnZ pE9we4wXlnQBOgH6WpV1lnD8K6wVwInAkvFwhtwiIAP2EooyWxL6wWcaqvgKqgU3LRqM4P vZE68iUF8Ppvjekdv9JtAo6e6k3W+hVHo9iep7aFBAnRMseoz3rlTygUwj2Z7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665168637; a=rsa-sha256; cv=none; b=NC5O4YPlf7e5I+JO6K51QLUWz6N+AZ+ATg8iunMXJ/bNVYAOWBVEgG/LwW2Bf8vJ0eF4Oc ncp4jwq9o4fIC5s2hrciObVQDzghYaWHfSelaWj+m8VRfP3grrtrGKtQwoJ6HrlW8Xfk8+ zd8x6v4HGphSUMM1phzoO9/k8tHF0XzzO3BoWSUejJHm1Ibu3vUgjO2le9NNHPzpwlMN+4 97eLM4s3JdR0PFRVgd/iiJJuLRA+Xi5fkolPgFhuxBX5g+aC34G7nLf84gNbnHIqJpMo7z jedAdlyRsjqWPcF+pVQue3PtkKiHKtDoj3UBmhY0t35EGPRs8iJqOrYWTc/5pA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fqaSBqoi; 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=fqaSBqoi; 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: 48FA1A39A X-Spam-Score: 6.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8JB7palOUFfn Hi Liliana, Well, I am in favor to go one foot then the other. :-) Let start to have a simple extension that we can improve by incremental changes, then let add a section in the manual for having the reference documentation, then let add a cookbook entry, etc. Well, somehow the perfect is the enemy of the good. :-) It appears to me more motivational to document Guix extensions step by step, i.e., people can contribute to the improvements, etc.. Instead of going my way alone and then come back with a complete work. For what my opinion is worth. On Fri, 7 Oct 2022 at 20:21, Liliana Marie Prikler wrote: > But that's the point. Simply adding an extension =E2=80=93 whether an ex= ample > or an actually useful one =E2=80=93 doesn't teach users how to use them. = It's > missing this very information among other things. The answer of this is provided by the following part of my previous message= . :-) > > For instance, let consider guix-modules [1]. It reads, > > > > --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--- The already included extension 'guix-modules' is usable using the snippet above. And we teach people via a blog post on hpc.guix.info. > > --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--- > 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. As shown by my snippet above, it does not work; at least on foreign distro. Cheers, simon