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 ms9.migadu.com with LMTPS id yHj0BvJKBmQuPQAASxT56A (envelope-from ) for ; Mon, 06 Mar 2023 21:20:02 +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 +Of1BvJKBmTd3QAA9RJhRA (envelope-from ) for ; Mon, 06 Mar 2023 21:20:02 +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 78E4EFFC9 for ; Mon, 6 Mar 2023 21:20:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZHJ8-0004jq-0M; Mon, 06 Mar 2023 15:19:42 -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 1pZHJ7-0004ja-0C for guix-devel@gnu.org; Mon, 06 Mar 2023 15:19:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZHJ6-00038C-Oo; Mon, 06 Mar 2023 15:19:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=vso2/UWMN2Ey1rCvAoeGP0PgPbPGmiF5+d1aoW+P4h4=; b=Pm9uJyDZS0UQtN/w8Xru /KHasK5pfxVw9/GujACa64iVkbCyeuxQ1gYGGKUzNi1ysXsjhTpZfoaflAK5hFXDcPu0jOQIzd+Ug bnQkM8jAsuuxXfP8//Xhg+pxA+fjFuVrTHc26HGXCriBnjZtf5tHnwWhKVHikMlxsEszEzgIP9QCm znje1JzWsnJ6etRathrZEFpd0JJoNMYQ9tOme/z2TV+jFfSnjTMIshApIQUBCh/Ga3177qx4lyDuc fm0n5VkevMTwY8SD+/SBT036iYdUbv0Yico/1TagdyIHFbRDs2yz5EN/ry0BwrNQYv9TiVmF4tXVC SvOeCDLGxpiewQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZHJ6-0007GM-91; Mon, 06 Mar 2023 15:19:40 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Sarthak Shah Cc: guix-devel@gnu.org Subject: Re: Implementing Nix's command-not-found in Guix References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 =?utf-8?Q?Vent=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de =?utf-8?Q?l'=C3=89pinard?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 06 Mar 2023 21:19:37 +0100 In-Reply-To: (Sarthak Shah's message of "Sun, 5 Mar 2023 03:12:22 +0530") Message-ID: <87mt4p7huu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678134001; 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=vso2/UWMN2Ey1rCvAoeGP0PgPbPGmiF5+d1aoW+P4h4=; b=WGis/aMhMwGTWsOGSAvtrsVmASKuHYdowCSoEhHG+K67CMWk/OFVyXYxWQNjepdrt4b3Km 4DwxrZ8JD5iA9YHnkm55PWbs/HvCav1nUZpX1AIHn20/Y5ky+i6NkteC6acQLxpzBGRt3I SOcFTgTAxXcgsJ5zTP4Ul7ozVEXvlDPysiMXD0dpvgDvxz7UQ84ayUgb4RypPFPW5g1Y7X MI0AcNv5OA3GCr5UQ9u7ee5p5YqsR8RdMw3Q83ZDIIymZXbTjE2a9VTnHdsPe/tJ1cyMoB d4gJ3Wik+RU4S2WOK+aYzzqngtZ9N1xgACq/jwxd7bGMSAbjeUBXtJtafgP99Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Pm9uJyDZ; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678134001; a=rsa-sha256; cv=none; b=EWfIOtGVqIhy9ZhcrQ3YGVofCZHhcj2DcX32pPMNgPnSK8dILRdngOp7LPsfqoxxmXs/cX rY7utyJSxTgHprW4Ecyz62TzwTbdwSWDRKWTni0UIr+yrpfkq50Pqg/OYNIZJpguVkbrxy WV8aGPhpKxnlvApMUSJXpizhqlfqvK9twJSPfYQvEl5vnM3i69NywakZpaSqE8QeJ7GVcY Co6n47rdUEXslPKjL4sjOpMwaguOYASVRWDQoEftg3vaXDzaMHZxYdX0j/Ld+j8/St0cN7 NAyEVZcaOY3PwraWgGAMHgTwxootyA1TcwMpZOHRxbzBXGZtRrK1RyMIZJybxQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Pm9uJyDZ; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Spam-Score: -6.23 X-Spam-Score: -6.23 X-Migadu-Queue-Id: 78E4EFFC9 X-Migadu-Scanner: scn1.migadu.com X-TUID: LyHCJ1pgdoRC Hi, Sarthak Shah skribis: > I'd like to implement something similar to NixOS's command-not-found in > Guix. There=E2=80=99s been work on a =E2=80=98guix index=E2=80=99 command recentl= y, that I hope will soon be proposed for merge: https://lists.gnu.org/archive/html/guix-devel/2022-12/msg00198.html Once this command is in, it will be possible to implement something like =E2=80=98command-not-found=E2=80=99 that would search the =E2=80=98guix ind= ex=E2=80=99 database. Ludo=E2=80=99.