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 +GKhMH+udGOTagAAbAwnHQ (envelope-from ) for ; Wed, 16 Nov 2022 10:33:51 +0100 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 SCyhMH+udGPaUgAA9RJhRA (envelope-from ) for ; Wed, 16 Nov 2022 10:33:51 +0100 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 8BB9A39AA7 for ; Wed, 16 Nov 2022 10:33:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovEnY-0004tR-GC; Wed, 16 Nov 2022 04:33:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovEnR-0004qe-SX for help-guix@gnu.org; Wed, 16 Nov 2022 04:33:29 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovEnP-0008Qi-LL for help-guix@gnu.org; Wed, 16 Nov 2022 04:33:29 -0500 Received: by mail-wr1-x42c.google.com with SMTP id cl5so28906061wrb.9 for ; Wed, 16 Nov 2022 01:33:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2HbBaAacZimr/xuERt+cafp1+MgQQ7BsxgYYrMUbk0I=; b=k+qkyAPvXdxBHs82es2CSLp1qwfh0fQAZimvuDg+7fBd+ifJqhgQ2Wn0zE/O41X4AF hxZIyNhdXnO1bLZOpLfpCaXXfKocUELSUF78p4oz7BluLT6saiVRT7bSouzqW+PpAt0R v+B856K7guEmBjJiZw7yNipHT8MukxS16B8VtiQ2nr6XSi6Ftd9x+3yOuz2mdtR1Gl02 c71LV0NzIOGn8ZeU9QcBfyXDham6baOzE4TZOCBKHNOMmqlh5BSo8WBCz35fTArHfiMx K5IK3yhimfaZvtjwp3TUuGgq6RBFieIgIbyony/QAqt5u4UmcGJtZcEPfvXYgu4bgsYQ Twvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2HbBaAacZimr/xuERt+cafp1+MgQQ7BsxgYYrMUbk0I=; b=R+M9JoPGWx0n1r1BFOr/15UERl3c6N1HYySBo/hIkffon+NfM/j8e5FqcMlXTmgXqi vJxwWDLpK9FbkU3DZTTKWRPXGbJnKPS0QJ0HRrw3dCNNv+lsuFUSZMHlFhbKM0MB3lgl STUF2Lz8VPOpQEFfLRgy4W9GEGnobkqLLmfIB6N6LmCK9z9QIOBTETj3iWhsMHfoeCHO 3z14to/FDaPySybN+iS4kLQbSNRTnVMBw6XLD2kVOhmYHhAbvWKUEzYFMBDBfwGL+fFY Ip7Ctp97zlLmSKrP5M6Q7smF/O+p+wis99y8nicQzh/FvhiMzuLPMLmRlHYHaPfbOTZ8 ZA2g== X-Gm-Message-State: ANoB5pmRSiqwCVBW9eiBePDnafGDAOQXHPVvoqFNOkib0JV337nyvv2G d61Wld0iRWopq0UYB27tAv21xy9HjAc= X-Google-Smtp-Source: AA0mqf6Bm16ay2LKMSXYG4mAz4TmwBaSmyi0SQxcm28GSYDxTAXp2TLeVbLlBvfeIO8bf6x9cxcwrA== X-Received: by 2002:a5d:4b47:0:b0:22e:4a1:d157 with SMTP id w7-20020a5d4b47000000b0022e04a1d157mr13761139wrs.399.1668591206323; Wed, 16 Nov 2022 01:33:26 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n36-20020a05600c3ba400b003cfa80443a0sm1587881wms.35.2022.11.16.01.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 01:33:25 -0800 (PST) From: zimoun To: jgart , "(" Cc: Ricardo Wurmus , help-guix@gnu.org Subject: Re: Does define-command automatically add the subcommand to the guix CLI? In-Reply-To: <20221115130411.GC24065@dismail.de> References: <20221115085955.GB21024@dismail.de> <878rkcuu3v.fsf@elephly.net> <20221115120558.GB23452@dismail.de> <20221115130411.GC24065@dismail.de> Date: Wed, 16 Nov 2022 10:15:59 +0100 Message-ID: <871qq345v4.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::42c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42c.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org 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=1668591231; 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=2HbBaAacZimr/xuERt+cafp1+MgQQ7BsxgYYrMUbk0I=; b=X2hi0ueBm5KxlKAgK3OEeUhzFTQVGDLhB3uG6X1OkYEqleiWvBLyhInl39gltu1pSPIZMM fyXDIdaLfYLof+l6qvHjMAa7aT//tLkdWbzM5XFiEqGVo1ojSlaEG49QVnOpMy6qmzNkyt JB+k2i2GZCYoQbOYyS836Fc0Hs5Kyv5w2TT06dHOj3XfDh4jURH0dOeMWJbSaR3PSiwWVg 5mAm6+WZMAYqMR0K38YGy5vgI06QdjNAxgVTl5UiFqRjCP7/flRC8ZxrdhkYZMXlw+6I9l WeVeVwVPHASH8Y5YVuTktswF2oHNN+YHY3ZRXlRGDbmduUMDlX7G+mvlfpfeAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668591231; a=rsa-sha256; cv=none; b=Oa+EXfKXPEv4fOBpa3S+ZD2ACmH9SNZmnttJJfl3RUdNifiMcMyXTvmRTMlxMR+pRENbXI WSvXnBQFZsqEhsuXdw+7+KTOwyHtnrs1KYdf4SFL0PeQ2cJCqAFLZClEfo8MmMknKTskPW ORKNAYxL8s0IQXztKeBcv8pPBDnVDknYgGjkt5kgt2ChK0aq7WQCLVdlJ/9SF5JttgC+X2 x5R3VMRlyHPzGUNX9kYI/2pv0XV3f1RRTBBk87j3S39+xtXm0lE43Q0XcW0ObH9I/Cq2qF NaD1FwPGXIRVs239BE9X6uNdaH50lmgeXjTblR2vCtmNbeKfMdCLh52fIkTbfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k+qkyAPv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k+qkyAPv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8BB9A39AA7 X-Spam-Score: -5.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: lr28kzN5bn+F Hi, On Tue, 15 Nov 2022 at 13:04, jgart wrote: > On Tue, 15 Nov 2022 18:08:23 +0000 "(" wrote: >> Heya, >>=20 >> On Tue Nov 15, 2022 at 6:05 PM GMT, jgart wrote: >> it installs the extension code to #$output/share/guix/extensions. When i= t's >> installed that directory should be added to GUIX_EXTENSIONS_PATH automat= ically. > > There's no examples currently in the code base of an extension like > that, right? Well, see guix-modules. I did an attempt for a simple =E2=80=9Chello world= =E2=80=9C example with patch#58339 [1]. Maybe I will resume it if my motivation is back=E2=80=A6 1: http://issues.guix.gnu.org/issue/58339 Cheers, simon