From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 4HNsNUd+QGNkNQAAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 21:30:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mGCMNEd+QGO8wgAAG6o9tA (envelope-from ) for ; Fri, 07 Oct 2022 21:30: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 84ECDBF38 for ; Fri, 7 Oct 2022 21:30:15 +0200 (CEST) Received: from localhost ([::1]:49012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogt30-0000XH-BS for larch@yhetil.org; Fri, 07 Oct 2022 15:30:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogt2p-0000Wp-VM for guix-patches@gnu.org; Fri, 07 Oct 2022 15:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogt2p-0000e9-NP for guix-patches@gnu.org; Fri, 07 Oct 2022 15:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogt2p-0003ex-EC for guix-patches@gnu.org; Fri, 07 Oct 2022 15:30:03 -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 19:30:03 +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 Cc: 58339@debbugs.gnu.org Received: via spool by 58339-submit@debbugs.gnu.org id=B58339.166517094913901 (code B ref 58339); Fri, 07 Oct 2022 19:30:03 +0000 Received: (at 58339) by debbugs.gnu.org; 7 Oct 2022 19:29:09 +0000 Received: from localhost ([127.0.0.1]:37409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogt1w-0003c7-MY for submit@debbugs.gnu.org; Fri, 07 Oct 2022 15:29:09 -0400 Received: from mail-ej1-f67.google.com ([209.85.218.67]:41905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogt1v-0003be-Ix for 58339@debbugs.gnu.org; Fri, 07 Oct 2022 15:29:08 -0400 Received: by mail-ej1-f67.google.com with SMTP id qw20so12741452ejc.8 for <58339@debbugs.gnu.org>; Fri, 07 Oct 2022 12:29:07 -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:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=qmsP8riBwDeyBfdPQOD1ikcSmjqFIZ0WA0ZyN5DYiyg=; b=cLMCLVYtg4GzeWQQuZtfHE2Om+AhVjm9kuzuO+J0G0cf4HD1gSOB88Hq2wfhgV9mS1 jJKUOXVtcaa559/nN1QZ4WFZ8KOfTRBvjVjAAfewdDJJzpSTnG+MldOU/XT+zQUPynAP K7+DzksuqGvONZTnNo9x29kP3rhwilZg9tLTRNkyT4oRHwDVtdpZnwpb2EqVKJb0ETVN ZQk+OtuNAoW4QHlDzGwxC5SXx18JRT7gjWAprnmE80Ros5Uyr5ufARXlMZSNiVMAEF8R DUWTxsP3rGmBtpoSmcZ32baxMXzfZ03sf0mdAVsHM/71a3qcEtXa3biTH8OIQSex4UFD 4I5Q== 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:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qmsP8riBwDeyBfdPQOD1ikcSmjqFIZ0WA0ZyN5DYiyg=; b=vKv+MeBYssflEQ6pJHOWV72uSxyS+DzDASLXxg2TnGd/vnEqeyY61X8n9THJ6cnfIY ehqSJgTi5QU/4VJ0Aesb5udpJtXIMSEFzeLU8OR07rMr7YA+qXyKzzvnuchtZBFPhMOn VvUFocg/tE93dNc5Pp7059QIOe+ofzVKc5X13jurBou+i5Ku8ClzAlm0/opWr4dyuU2s piAndVvHaFyxHGmhrfGnXPqnehrg77W/VFAhyX2tE37pwXI+kbJSH4wJKrIBcXKolVJ+ ahPTDJFhljbTitRKhtwSOvay75Lrfl+IQ7hTJlnEm+HsxL7u1shsjzmM448RS0gjSy7X SPzw== X-Gm-Message-State: ACrzQf26FiRNxisoN2SytxhFDgzGX48GSRvwcyTIXdw3qBGKJCcRglh/ UhMHIBzZtkOHx6ElwIqouTc= X-Google-Smtp-Source: AMsMyM5+TLlbf1H6GMvXwfNk9+ehsz7EUme9UVX4wa1JmgFhO+T6mKE/h2cLnhy3R5uQvmUQ8Ya39A== X-Received: by 2002:a17:907:2bda:b0:78d:9144:fb6d with SMTP id gv26-20020a1709072bda00b0078d9144fb6dmr783689ejc.238.1665170941546; Fri, 07 Oct 2022 12:29:01 -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 5-20020a170906308500b0078d22b0bcf2sm1635269ejv.168.2022.10.07.12.29.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 12:29:01 -0700 (PDT) Message-ID: <00943eca15a92b5985361d14b12b6ffe9794c187.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 07 Oct 2022 21:28:59 +0200 In-Reply-To: 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=1665171015; 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=qmsP8riBwDeyBfdPQOD1ikcSmjqFIZ0WA0ZyN5DYiyg=; b=b7aLzerQXYfApeCQyrAg4TuK8y9MBDqNXkUl3p5qJfydhRkTSSCUTQptU82U+UlqzBzxaf Fz8WMfFXPdOJGSlLrAdYhFuMsF57Nj4yytewrGM8+w11o06mJCCloNeUancrIwYPQp7nL2 e9a0mEGkEz8Hv+uirVSzNfxyIBLsQUFkWnsj5AcIeo6Ms091jfFOY+V9P1gfKcl2beQV9b H979Geu3kjqCukMjEEGT+Hbvj4xF+wcXW1OGach8hyohmt6H5TBegjk8IaCEPpoVGaFZ98 OeYmDV5OwY34QU2ZRdEQCxguFuSYZOk1rL/PL39HMuvOQSgh9+1RzMOF47rC3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665171015; a=rsa-sha256; cv=none; b=ujqpTsmp32N2wD+65yTwkHYJmQOpzUv+zY1ZObwJ0jCBk95GVN/cNoHKGlu+wpM3qV+dTP OmG5h5q7nC+qVBeSTh4XFz6uF9QTXjVuo/Dz2PTh4pOajPFVNgEFF4KKw7bgwnP4uEXv9U Yx9+RPBXneRiZFgq4GZy/Im6gWnQHa2ooz5RpgDAWNQOuPGS2b1cFeSfylYJ+3+saG/xiB qVeGBc6/i9HvvJvjhq/98boyTlGjAI7wCJVg2s+sOJJ1/FjgZ+GCRWWJfLrz2K4cXFAxYF Ndzu5iEjZ5To3ZzWlZZ1LOImrKoeuvEjVxbksYq2hkgtFrzyHn9ZdeUhsyJpWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cLMCLVYt; 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: 5.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cLMCLVYt; 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: 84ECDBF38 X-Spam-Score: 5.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: xyz9Q3NECO2J Am Freitag, dem 07.10.2022 um 20:49 +0200 schrieb zimoun: > Let start to have a simple extension that we can improve by > incremental changes, My point is that we already have proper extensions in both guix and other channels. It's a little late to "start with a simple [one]". > On Fri, 7 Oct 2022 at 20:21, Liliana Marie Prikler > wrote: >=20 > > But that's the point.=C2=A0 Simply adding an extension =E2=80=93 whethe= r an > > example or an actually useful one =E2=80=93 doesn't teach users how to = use > > them.=C2=A0 It's missing this very information among other things. >=20 > The answer of this is provided by the following part of my previous > message. :-) I might be missing it or perhaps I disagree. Pick whichever makes sense to you after reading this mail. > > > 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 > The already included extension 'guix-modules' is usable using the > snippet above.=C2=A0 And we teach people via a blog post on hpc.guix.info= . A manual is clearly more visible than a blog post. Also, even if that blog post had everything, we've added blog posts to the cookbook already, so it wouldn't even be that hard in this case. > > > --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 > > 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. >=20 > As shown by my snippet above, it does not work; at least on foreign > distro. Look at your snippet, then back to mine, now back to your snippet, now back to mine. Sadly, your snippet isn't mine, but it could be mine if you added "guix" to the the packages listed before the --. Cheers