From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 4ChOCHnIa2KQ8AAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 13:14:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iMDCCHnIa2K+3AAA9RJhRA (envelope-from ) for ; Fri, 29 Apr 2022 13:14:01 +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 9D44020DF9 for ; Fri, 29 Apr 2022 13:14:00 +0200 (CEST) Received: from localhost ([::1]:52210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkOZT-00041f-CM for larch@yhetil.org; Fri, 29 Apr 2022 07:13:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkNz5-0003ar-6C for gwl-devel@gnu.org; Fri, 29 Apr 2022 06:36:24 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:37462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkNz3-0007OW-9H for gwl-devel@gnu.org; Fri, 29 Apr 2022 06:36:22 -0400 Received: by mail-wm1-x330.google.com with SMTP id o12-20020a1c4d0c000000b00393fbe2973dso5854068wmh.2 for ; Fri, 29 Apr 2022 03:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=WzCDmP6ZkaYESsSe/gsC7FNwnbIgZnAXH6I+R5pLyP0=; b=IgZeVt+JQTbfGzTycu2WanIfpVrYxh6kpuy180tolPPn7MKOlUp/nwBTgJHOxiO5Ct tPFvdyz7YaHFuyEkaQNzwNBAinDMGOlTFWdqva8kc6gO/ifzbgi2bPCY77CE7RVzXZeF 3wgho+RflgiTrmtwetHBTmLw402AyHZh3D5+GfV2tpHyQKbn7GGGsHu0ZwxSacV5vG2Y BbGy5CSjdsyKro/gbY1v5NlFwk1YDT4OeBwNPjf8hZ5kGGR1iNbCulI976eqi6F77fel qPj7FJlDVtByseWzusTS3PwAkhu7aciPTT48dSAbk8WdfEsl36FV0yTreJL2Ahxmy9SZ ezhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=WzCDmP6ZkaYESsSe/gsC7FNwnbIgZnAXH6I+R5pLyP0=; b=aNDuBUnU3bWBS6PDgty/vniEYJjRDex7vZrb4CwiaGAeZCN7bAz2kFaDvPh5du7ANp sef8PcU+4gedb2+lqn91HP9Ofq81SKwOnru9kzd4cuHB3ma+rE8Hu6wPFWnyNyJkzGG4 OkUDU7lC16+mkwWvR+eWmPjq0ogWTJwwXFeLZ7AXO6nmhvUgqREGSMwKrCvTKuzv+fao 4ZWAl9waz8ppQIiaxUitcrNKjRtr4DbJCNfk/7dzqPeACHpGf2qhMYeh3g9UaQycC+a9 iq6UhDIyldaR+W0cnQqGDQTURzo/aEOCnW3f7wx0LAnOSA/j4t8sfvdSiuw3Ly0ulSRy qXbA== X-Gm-Message-State: AOAM530SOYLsZzzpl927d0bBZ+klLNyoxSNpmlc3X4MP9NM5owJrSB1M Z8sM78cmV0WDSDSIpdMFk54K5ilpMbo= X-Google-Smtp-Source: ABdhPJzseNGfOf0NvzNDT+UklRhU9nGd1jKoelFdNo05RI4hKwm/fuUAwwHpJYufUEtWhRdTcjCd+g== X-Received: by 2002:a7b:c24d:0:b0:393:fac9:3015 with SMTP id b13-20020a7bc24d000000b00393fac93015mr2528810wmj.186.1651228577893; Fri, 29 Apr 2022 03:36:17 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id t18-20020a05600c199200b0039291537cfesm6369334wmq.21.2022.04.29.03.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 03:36:17 -0700 (PDT) From: zimoun To: Ricardo Wurmus , Luis Felipe Subject: Re: guix: workflow: command not found In-Reply-To: <87mtg767ja.fsf@elephly.net> References: <87mtg767ja.fsf@elephly.net> Date: Fri, 29 Apr 2022 11:11:03 +0200 Message-ID: <875ymsdzko.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gwl-devel@gnu.org Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651230840; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WzCDmP6ZkaYESsSe/gsC7FNwnbIgZnAXH6I+R5pLyP0=; b=rPZdLjieR70uEZCM3eRCIRbgcjA09JCV/2mVg6GCKHbpo/cdT9ApFLK/ICU06Dmv+6ax2S +Pj7VZZ4evhKcQpGpKmBA1pOw0yS19yCKqiTYdgKU1G3f3WcWRwyjoIdZNpLOa16zn5h8o YXlUuFWkNVA14ci3lBsC7u98Nnaot6gixR7mfPpEDC+sX6GFjlJYf7LmbXk61ua7EtQq2G i1ZqRxmzB2VAbEHN71XkQWNb78hjs3YLsxx2L6Li5svvbHOA2ajzS8VFkSI/BWsLx1oO6X X2WptYFmpO405RuNEwlHH78NwKNQ7QW/DYKr24SdEX/AcmLzq0DAkaOlLS3FOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651230840; a=rsa-sha256; cv=none; b=O4QtnrwhmtDmyb9Xoq/CiN0pZrrT4yGsedc8gDSSE5mf6oPBKNvie8ELQWJ4UqwTHVFZCh ib2/e/CWX5xHbETL5PktTEao9Y9yTraEfc0PgU8wheaW80D9abY7S4o2uDanaUe3+PfmrS +CCv9D87VGgbWS8kwy/a4JGpST+7mBny6bW/b8px9xPBn/WYfMs0A2FnTqEnU8U2C2d5RM psfdTqUuemdvq2uTjgYBH0tJx6U7XLJ3RxGu4bnP3e9DF0Mz0yxeNp8QVsipwCxqGk4o+L WNWASgUDq2GaUTvyDy8tzqPsjRD4eMVYZ+KzMk2pnnV3W6iUkaVLDmmzgn014A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IgZeVt+J; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IgZeVt+J; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9D44020DF9 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: C26mTKdfyEbW Hi Ricardo, On Tue, 26 Apr 2022 at 20:07, Ricardo Wurmus wrote: > export GUIX_EXTENSIONS_PATH=3D$HOME/.guix-profile/share/guix/extensio= ns > > Originally I had hoped it would be set automatically due to a search > path specification on the =E2=80=9Cguix=E2=80=9D package, but this doesn= =E2=80=99t work as > intended, so it must be set manually. > > I=E2=80=99ll amend the documentation / tutorial. Some time ago, we had this discussion [1]: Let take an example, the recent Ludo=E2=80=99s explorer. It is easy to transform it as an extension and then use =E2=80=9Cgu= ix explore=E2=80=9D. But 2 things are strict: - user side: GUIX_EXTENSIONS_PATH - extensioner side: define-module Maybe I am wrong and I miss something. From my understanding, - the file must be located at $GUIX_EXTENSIONS_PATH - the module must be defined as (guix extension explore) because of: --8<---------------cut here---------------start------------->8--- (match (search-path (extension-directories) (format #f "~a.scm" command)) [...] (resolve-interface `(guix extensions ,command))))) --8<---------------cut here---------------end--------------->8--- So, taking the previous example, it would be easy to say: hey, clone this, export GUIX_EXTENSIONS_PATH as /path/to/checkout and run =E2= =80=9Cguix explore=E2=80=9D. But, to work, the repo must have the structure: - guix-explorer - guix - extensions - explore.scm because the module and in the same time $GUIX_EXTENSIONS_PATH must = be =E2=80=9Cguix-explore/guix/extensions=E2=80=9C. I feel something i= s wrong. And I initially proposed to append =E2=80=99/guix/extensions=E2=80=99 by = default to GUIX_EXTENSIONS_PATH in =E2=80=99extension-directories=E2=80=99. I do not understand why it should be a problem. BTW, for packages as GWL, it does not change. It is just an agreem= ent between the two sides, right? 1: and, from my understanding, the current convention is awkward and I would prefer the minor tweak I am proposing in Guix side and adjust accordingly on GWL side. I would like to document more about extensions because it appears to me a killer feature but the convention for GUIX_EXTENSIONS_PATH does not seem nice and once we will communicate about such extension feature, it will be impossible to change the convention (because backcompatibility). WDYT? Cheers, simon