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 GFA3M+tpgGM9wgAAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 08:08:27 +0100 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 mBc8MutpgGNZsAAAG6o9tA (envelope-from ) for ; Fri, 25 Nov 2022 08:08:27 +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 9878732F5F for ; Fri, 25 Nov 2022 08:08:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oySoe-0002HN-R0; Fri, 25 Nov 2022 02:08:04 -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 1oySoc-0002Ge-Ul for guix-patches@gnu.org; Fri, 25 Nov 2022 02:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oySoc-0000P7-MD for guix-patches@gnu.org; Fri, 25 Nov 2022 02:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oySoc-0003QU-I1 for guix-patches@gnu.org; Fri, 25 Nov 2022 02:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v7 21/32] gnu: Add tree-sitter-ocaml. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 07:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Pierre Langlois" , <49946@debbugs.gnu.org> Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.166936005013115 (code B ref 49946); Fri, 25 Nov 2022 07:08:02 +0000 Received: (at 49946) by debbugs.gnu.org; 25 Nov 2022 07:07:30 +0000 Received: from localhost ([127.0.0.1]:33235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oySo5-0003PT-Ko for submit@debbugs.gnu.org; Fri, 25 Nov 2022 02:07:29 -0500 Received: from knopi.disroot.org ([178.21.23.139]:53242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oySo4-0003PL-0T for 49946@debbugs.gnu.org; Fri, 25 Nov 2022 02:07:28 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 674454150B; Fri, 25 Nov 2022 08:07:27 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9PqDWQ8Jxle3; Fri, 25 Nov 2022 08:07:26 +0100 (CET) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1669360046; bh=019l2wYPSHQOoAfx9tnuUrqIRRhT+cZ0QhiXtVb9Fm4=; h=Date:Subject:From:To:References:In-Reply-To:From; b=ZSvmXPnPP8CSmkiN2UaU1y6jed3R9NqPzyLh0iqL8mJ967bQrcqL6I37zziAz8GMR WXX1fH+MNsNUc0bOnjtUYo5pf1v/gROs2spnOyF7xkji1s7u+57FYkoLTAy+etPSEU PfSTPsKFLwS8M309Nmi03p5zceUH4g6ADmH0ElydtIxuraa/R3kp+uX95GvtFRmDg3 lnJAJov85x1M9ARKiLMwcmrWqaKRGxLzKCWGIUQA7TngxAKtqZTYdwWX8VEEKmOaAw dtRRKLfFYtHwP8nzU01uJnHfx4YEpIWVCglOkxRr2J2BbzdWAZSzWxTp31KI4imNWq iIdpnCS3Kt+hw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 25 Nov 2022 07:07:25 +0000 Message-Id: References: <87mtfi63ut.fsf@gmx.com> <20221125012142.22579-1-pierre.langlois@gmx.com> <20221125012142.22579-22-pierre.langlois@gmx.com> In-Reply-To: <20221125012142.22579-22-pierre.langlois@gmx.com> 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: , Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-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=1669360107; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=nnhrlvxQXCfSXaY0Xx42eKz8Z/E/5S98ENqCF2Qqmck=; b=mhVQzs5RopnOWKhoN6/jD699J2tAaOd+K/NxPbxfT+NkXndo2ypZzJnwkitWBd8Po6aa+a cL1dDUBKPQ5pDDcjqANGbkxIRkYPyn+GTPQuKyJFLIFiwXOHGp8SJk7ByR7MpF9sQGCivS C98uDvjcASf6f2oUlGrFexhSmKJ7eviX6E50YT9XTK/Nd9QycKHDuurJjMIa8kCX/02y2E fJOPMmgc1kDeDj3QosBKRqMf5JGYAmB5pXxkLCHBUwwSf3jTnUNsqiSuDkoAB0DAY3U3gb fSRSRvwmXKGNaP5Byi3TvXqpnInbrttd26XCzyWE5wUtjLIQ2udT4LdhOoONtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669360107; a=rsa-sha256; cv=none; b=JjK6+CM39UXhTlT+eBTpEISKPtuqkOVX0Txrb2Lad6Xv7Cdg9xs8mfF3to1NDyyBg/5gqf dBRtMA6132Q0BIME0+8GzELJ8Scl95H4fRtPGXSezFlF+8IraVHt6Vy+dDaJGDkoe103XX RN8EGPbn16EXBGFFopifwg4q2FSsR4ZoCUlcCieDVf5LrKvv0TLr6Gf3kulTLz/je6JOqY qnbVRszKkKwbhB0DRrBLvlMRq/7RMFp5OkuLssvcQWgR4p1q8F878SIIdIxXRknDtacraf tx+ysTHi8x5YYYuig9kMx/jKUuuoYkcChsKQiUAcRt6awehCUT0VaXAf++Qq1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ZSvmXPnP; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ZSvmXPnP; dmarc=pass (policy=none) header.from=gnu.org; 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: 9878732F5F X-Spam-Score: -3.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: fsCvqgcYshZ6 On Fri Nov 25, 2022 at 1:21 AM GMT, Pierre Langlois wrote: > * gnu/packages/tree-sitter.scm (tree-sitter-ocaml): New variable. > --- a/gnu/packages/tree-sitter.scm > +++ b/gnu/packages/tree-sitter.scm > @@ -487,3 +487,42 @@ (define-public tree-sitter-julia > + (let ((commit "0348562f385bc2bd67ecf181425e1afd6d454192") > + (revision "1")) Explain and start at 0. > + (delete-file "binding.gyp") > + (delete-file-recursively "bindings") > + (for-each > + (lambda (lang) > + (with-directory-excursion lang > + (delete-file "src/grammar.json") > + (delete-file "src/node-types.json") > + (delete-file "src/parser.c") > + (delete-file-recursively "src/tree_sitter"))) > + '("ocaml" "interface")) This stuff should definitely be handled by the tree-sitter-build-system... > + (arguments > + (list > + #:grammar-directories '("ocaml" "interface"))) Unnecessary newline and use of a quoted list; please use (list #:grammar-directories (list "ocaml" "interface")) -- (