From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 07 14:49:21 2022 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: Subject: =?UTF-8?Q?Re=3A_=5Bbug=2358339=5D_=E2=80=99guix_shell=E2=80=99_not_working_with_GU?= =?UTF-8?Q?IX=5FEXTENSIONS=5FPATH?= To: Liliana Marie Prikler Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58339 Cc: 58339@debbugs.gnu.org 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, 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