all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Langlois <pierre.langlois@gmx.com>
To: Philip McGrath <philip@philipmcgrath.com>
Cc: Pierre Langlois <pierre.langlois@gmx.com>,
	49946@debbugs.gnu.org, Maxime Devos <maximedevos@telenet.be>
Subject: [bug#49946] [PATCH 3/3] guix: node-build-system: Support compiling addons with node-gyp.
Date: Sat, 02 Oct 2021 12:49:48 +0100	[thread overview]
Message-ID: <878rzbtyyn.fsf@gmx.com> (raw)
In-Reply-To: <20210930225611.2143194-4-philip@philipmcgrath.com>

[-- Attachment #1: Type: text/plain, Size: 8025 bytes --]


Philip McGrath <philip@philipmcgrath.com> writes:

> * gnu/packages/node.scm (node)[arguments]: Replace 'patch-npm-shebang
> and 'patch-node-shebang with a new 'patch-nested-shebangs that also
> handles node-gyp and other shebangs under "/lib/node_modules".
> [inputs]: Add Python for node-gyp as "python-for-target".
> (node-lts)[inputs]: Likewise.
> * guix/build-system/node.scm (lower): Add optional #:python argument.
> * guix/build/node-build-system.scm (set-node-gyp-paths): New
> function. Sets the "npm_config_nodedir" and "npm_config_python"
> environment variables.
> (%standard-phases): Add 'set-node-gyp-paths after 'set-paths.

Nice! I'll test this with the tree-sitter series. I just had one comment
inline, otherwise it looks good to me.

Do you want me to integrate it into the tree-sitter series or submit it
separately? It might make its way upstream quicker separately, in which
case I'd suggest to send it again in a new bug for more visibility.

>
> Co-authored-by: Pierre Langlois <pierre.langlois@gmx.com>
> ---
>  gnu/packages/node.scm            | 33 +++++++++++++++++---------------
>  guix/build-system/node.scm       |  7 ++++++-
>  guix/build/node-build-system.scm |  9 +++++++++
>  3 files changed, 33 insertions(+), 16 deletions(-)
>
> diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
> index 6d9c3ccc71..805a4f18fc 100644
> --- a/gnu/packages/node.scm
> +++ b/gnu/packages/node.scm
> @@ -244,21 +244,22 @@
>                              python
>                              (string-append python "3")))
>                        "configure" flags))))
> -         (add-after 'patch-shebangs 'patch-npm-shebang
> -           (lambda* (#:key outputs #:allow-other-keys)
> -             (let* ((bindir (string-append (assoc-ref outputs "out")
> -                                           "/bin"))
> -                    (npm    (string-append bindir "/npm"))
> -                    (target (readlink npm)))
> -               (with-directory-excursion bindir
> -                 (patch-shebang target (list bindir))))))
> -         (add-after 'install 'patch-node-shebang
> -           (lambda* (#:key outputs #:allow-other-keys)
> -             (let* ((bindir (string-append (assoc-ref outputs "out")
> -                                           "/bin"))
> -                    (npx    (readlink (string-append bindir "/npx"))))
> -               (with-directory-excursion bindir
> -                 (patch-shebang npx (list bindir)))))))))
> +         (add-after 'patch-shebangs 'patch-nested-shebangs
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let* ((prefix (assoc-ref outputs "out"))
> +                    (path (map (lambda (dir)
> +                                 (string-append dir "/bin"))
> +                               (list prefix
> +                                     (assoc-ref inputs "python-for-target")))))
> +               (with-directory-excursion (string-append prefix "/lib/node_modules")
> +                 (for-each
> +                  (lambda (file)
> +                    (patch-shebang file path))
> +                  (find-files "."
> +                              (lambda (file stat)
> +                                (and (eq? 'regular (stat:type stat))
> +                                     (not (zero? (logand (stat:mode stat) #o100)))))
> +                              #:stat lstat)))))))))

Here you don't necessarily need with-directory-excursion. I see we also
have a executable-file? predicate function in (guix build utils), could
we use that? i.e:

  (for-each
    (lambda (file)
      (patch-shebang file path))
    (find-files (string-append prefix "/lib/node_modules") executable-file?))

>      (native-inputs
>       `(;; Runtime dependencies for binaries used as a bootstrap.
>         ("c-ares" ,c-ares)
> @@ -281,6 +282,7 @@
>      (inputs
>       `(("bash" ,bash-minimal)
>         ("coreutils" ,coreutils)
> +       ("python-for-target" ,python-wrapper) ;; for node-gyp (supports python3)
>         ("c-ares" ,c-ares)
>         ("http-parser" ,http-parser)
>         ("icu4c" ,icu4c)
> @@ -764,6 +766,7 @@ source files.")
>      (inputs
>       `(("bash" ,bash-minimal)
>         ("coreutils" ,coreutils)
> +       ("python-for-target" ,python-wrapper) ;; for node-gyp (supports python3)
>         ("c-ares" ,c-ares)
>         ("icu4c" ,icu4c-67)
>         ("libuv" ,libuv-for-node)
> diff --git a/guix/build-system/node.scm b/guix/build-system/node.scm
> index 98f63f87ef..3e49e67ff6 100644
> --- a/guix/build-system/node.scm
> +++ b/guix/build-system/node.scm
> @@ -1,6 +1,8 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
>  ;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
> +;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
> +;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -24,6 +26,7 @@
>    #:use-module (guix search-paths)
>    #:use-module (guix build-system)
>    #:use-module (guix build-system gnu)
> +  #:use-module (guix build-system python)
>    #:use-module (ice-9 match)
>    #:export (%node-build-system-modules
>              node-build
> @@ -44,11 +47,12 @@
>  (define* (lower name
>                  #:key source inputs native-inputs outputs system target
>                  (node (default-node))
> +                (python (default-python)) ;; for node-gyp
>                  #:allow-other-keys
>                  #:rest arguments)
>    "Return a bag for NAME."
>    (define private-keywords
> -    '(#:source #:target #:node #:inputs #:native-inputs))
> +    '(#:source #:target #:node #:python #:inputs #:native-inputs))
>  
>    (and (not target)                    ;XXX: no cross-compilation
>         (bag
> @@ -62,6 +66,7 @@
>                          ;; Keep the standard inputs of 'gnu-build-system'.
>                          ,@(standard-packages)))
>           (build-inputs `(("node" ,node)
> +                         ("python" ,python)
>                           ,@native-inputs))
>           (outputs outputs)
>           (build node-build)
> diff --git a/guix/build/node-build-system.scm b/guix/build/node-build-system.scm
> index 70a367618e..5e62eb4784 100644
> --- a/guix/build/node-build-system.scm
> +++ b/guix/build/node-build-system.scm
> @@ -2,6 +2,8 @@
>  ;;; Copyright © 2015 David Thompson <davet@gnu.org>
>  ;;; Copyright © 2016, 2020 Jelle Licht <jlicht@fsfe.org>
>  ;;; Copyright © 2019, 2021 Timothy Sample <samplet@ngyro.com>
> +;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
> +;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -46,6 +48,12 @@
>                (format #t "set HOME to ~s~%" (getenv "HOME")))))))
>    #t)
>  
> +(define* (set-node-gyp-paths #:key inputs #:allow-other-keys)
> +  "Initialize environment variables needed for building native addons."
> +  (setenv "npm_config_nodedir" (assoc-ref inputs "node"))
> +  (setenv "npm_config_python" (assoc-ref inputs "python"))
> +  #t)
> +
>  (define (module-name module)
>    (let* ((package.json (string-append module "/package.json"))
>           (package-meta (call-with-input-file package.json read-json)))
> @@ -144,6 +152,7 @@
>  
>  (define %standard-phases
>    (modify-phases gnu:%standard-phases
> +    (add-after 'set-paths 'set-node-gyp-paths set-node-gyp-paths)
>      (add-after 'unpack 'set-home set-home)
>      (add-before 'configure 'patch-dependencies patch-dependencies)
>      (replace 'configure configure)


The build system changes are now so nice and simple :-). I guess we
don't really need to set npm_config_python, it should be able to find
python in the PATH, but it doesn't hurt.

Thanks,
Pierre

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

  reply	other threads:[~2021-10-02 12:05 UTC|newest]

Thread overview: 316+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-08 22:29 [bug#49946] [PATCH 00/31] Tree-sitter, node-gyp addon support and emacs-tree-sitter Pierre Langlois
2021-08-08 23:33 ` [bug#49946] [PATCH 01/31] gnu: rust-chunked-transfer: Update to 1.4.0 Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 02/31] gnu: Add rust-fdlimit Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 03/31] gnu: Add rust-html-escape Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 04/31] gnu: Add rust-smallbitvec Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 05/31] gnu: rust-tiny-http: Update to 0.8 Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 06/31] gnu: rust-spin: Update to 0.7 Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 07/31] gnu: Add tree-sitter Pierre Langlois
2021-08-13 13:17     ` Pierre Langlois
2021-08-29 10:34     ` [bug#49946] [PATCH v2 00/33] " Pierre Langlois
2021-08-29 10:45       ` [bug#49946] [PATCH v2 01/33] gnu: rust-chunked-transfer: Update to 1.4.0 Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 02/33] gnu: Add rust-fdlimit Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 03/33] gnu: Add rust-html-escape Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 04/33] gnu: Add rust-smallbitvec Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 05/33] gnu: rust-tiny-http: Update to 0.8 Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 06/33] gnu: rust-spin: Update to 0.7 Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 07/33] gnu: Add tree-sitter Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 08/33] gnu: Add tree-sitter-cli Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 09/33] gnu: node: Patch /usr/bin/env in node-gyp Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 10/33] guix: node-build-system: Support compiling addons with node-gyp Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 11/33] gnu: Add node-nan Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 12/33] gnu: Add tree-sitter-c Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 13/33] gnu: Add tree-sitter-cpp Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 14/33] gnu: Add tree-sitter-bash Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 15/33] gnu: Add tree-sitter-css Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 16/33] gnu: Add tree-sitter-go Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 17/33] gnu: Add tree-sitter-html Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 18/33] gnu: Add tree-sitter-java Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 19/33] gnu: Add tree-sitter-javascript Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 20/33] gnu: Add tree-sitter-json Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 21/33] gnu: Add tree-sitter-julia Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 22/33] gnu: Add tree-sitter-php Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 23/33] gnu: Add tree-sitter-python Pierre Langlois
2021-08-29 10:45         ` [bug#49946] [PATCH v2 24/33] gnu: Add tree-sitter-rust Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 25/33] gnu: Add tree-sitter-typescript Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 26/33] gnu: Add rust-bindgen@0.56 Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 27/33] gnu: Add rust-tree-sitter Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 28/33] gnu: rust-emacs-module: Update to 0.16 Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 29/33] gnu: rust-emacs-macros: Update to 0.17 Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 30/33] gnu: rust-emacs: " Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 31/33] gnu: Add emacs-tree-sitter-core Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 32/33] gnu: Add emacs-tree-sitter Pierre Langlois
2021-08-29 10:46         ` [bug#49946] [PATCH v2 33/33] gnu: Add emacs-tree-sitter-langs Pierre Langlois
2021-08-29 10:53           ` Pierre Langlois
2022-02-10 22:39       ` [bug#49946] [WIP PATCH v3 00/26] gnu: Add tree-sitter for emacs (and neovim as well?) Pierre Langlois
2022-02-10 22:55         ` [bug#49946] [WIP PATCH v3 01/26] gnu: Add rust-smallbitvec Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 02/26] gnu: Add rust-html-escape Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 03/26] gnu: Add rust-spin@0.7 Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 04/26] gnu: Add tree-sitter Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 05/26] gnu: Add tree-sitter-cli Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 07/26] gnu: Add tree-sitter-cpp Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 08/26] gnu: Add tree-sitter-bash Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 09/26] gnu: Add tree-sitter-css Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 10/26] gnu: Add tree-sitter-go Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 11/26] gnu: Add tree-sitter-html Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 12/26] gnu: Add tree-sitter-java Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 13/26] gnu: Add tree-sitter-javascript Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 14/26] gnu: Add tree-sitter-json Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 15/26] gnu: Add tree-sitter-julia Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 16/26] gnu: Add tree-sitter-php Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 17/26] gnu: Add tree-sitter-python Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 18/26] gnu: Add tree-sitter-rust Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 19/26] gnu: Add tree-sitter-typescript Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 20/26] gnu: Add rust-tree-sitter-for-emacs Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 21/26] gnu: rust-emacs-module: Update to 0.18 Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 22/26] gnu: rust-emacs-macros: Update to 0.17 Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 23/26] gnu: rust-emacs: Update to 0.18 Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 24/26] gnu: Add emacs-tree-sitter-core Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 25/26] gnu: Add emacs-tree-sitter Pierre Langlois
2022-02-10 22:55           ` [bug#49946] [WIP PATCH v3 26/26] gnu: Add emacs-tree-sitter-langs Pierre Langlois
2022-02-18 14:12         ` [bug#49946] [PATCH v4 00/31] gnu: Add tree-sitter for emacs Pierre Langlois
2022-02-18 14:39           ` [bug#49946] [PATCH v4 01/31] gnu: Add rust-smallbitvec Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 02/31] gnu: Add rust-html-escape Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 03/31] gnu: Add rust-spin@0.7 Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 04/31] gnu: Add tree-sitter Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 05/31] gnu: Add tree-sitter-cli Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 07/31] gnu: Add tree-sitter-cpp Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 08/31] gnu: Add tree-sitter-bash Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 09/31] gnu: Add tree-sitter-css Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 10/31] gnu: Add tree-sitter-c-sharp Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 11/31] gnu: Add tree-sitter-elixir Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 12/31] gnu: Add tree-sitter-elm Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 13/31] gnu: Add tree-sitter-go Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 14/31] gnu: Add tree-sitter-html Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 15/31] gnu: Add tree-sitter-java Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 16/31] gnu: Add tree-sitter-javascript Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 17/31] gnu: Add tree-sitter-json Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 18/31] gnu: Add tree-sitter-julia Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 20/31] gnu: Add tree-sitter-php Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 21/31] gnu: Add tree-sitter-python Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 22/31] gnu: Add tree-sitter-ruby Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 23/31] gnu: Add tree-sitter-rust Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 24/31] gnu: Add tree-sitter-typescript Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 25/31] gnu: Add rust-tree-sitter-for-emacs Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 26/31] gnu: rust-emacs-module: Update to 0.18 Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 27/31] gnu: rust-emacs-macros: Update to 0.17 Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 28/31] gnu: rust-emacs: Update to 0.18 Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 29/31] gnu: Add emacs-tree-sitter-core Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 30/31] gnu: Add emacs-tree-sitter Pierre Langlois
2022-02-18 14:39             ` [bug#49946] [PATCH v4 31/31] gnu: Add emacs-tree-sitter-langs Pierre Langlois
2022-03-29 19:42           ` [bug#49946] [PATCH v5 00/27] gnu: Add tree-sitter for emacs Pierre Langlois
2022-03-29 19:42             ` [bug#49946] [PATCH v5 01/27] gnu: tree-sitter: Move to its own module Pierre Langlois
2022-03-29 19:57               ` Maxime Devos
2022-03-29 20:23                 ` Maxime Devos
2022-03-29 19:58               ` Maxime Devos
2022-05-15 13:16                 ` Pierre Langlois
2022-03-29 19:42             ` [bug#49946] [PATCH v5 02/27] gnu: Add tree-sitter-cli Pierre Langlois
2022-03-29 19:42             ` [bug#49946] [PATCH v5 04/27] gnu: Add tree-sitter-c Pierre Langlois
2022-03-29 19:42             ` [bug#49946] [PATCH v5 05/27] gnu: Add tree-sitter-cpp Pierre Langlois
2022-03-29 19:42             ` [bug#49946] [PATCH v5 06/27] gnu: Add tree-sitter-bash Pierre Langlois
2022-03-29 19:42             ` [bug#49946] [PATCH v5 07/27] gnu: Add tree-sitter-css Pierre Langlois
2022-03-29 19:42             ` [bug#49946] [PATCH v5 08/27] gnu: Add tree-sitter-c-sharp Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 09/27] gnu: Add tree-sitter-elixir Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 10/27] gnu: Add tree-sitter-elm Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 11/27] gnu: Add tree-sitter-go Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 12/27] gnu: Add tree-sitter-html Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 13/27] gnu: Add tree-sitter-java Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 14/27] gnu: Add tree-sitter-javascript Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 15/27] gnu: Add tree-sitter-json Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 16/27] gnu: Add tree-sitter-julia Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 17/27] gnu: Add tree-sitter-ocaml Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 18/27] gnu: Add tree-sitter-php Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 19/27] gnu: Add tree-sitter-python Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 20/27] gnu: Add tree-sitter-ruby Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 21/27] gnu: Add tree-sitter-rust Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 22/27] gnu: Add tree-sitter-typescript Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 23/27] gnu: Add rust-tree-sitter Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 24/27] gnu: Add rust-tree-sitter-for-emacs Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 25/27] gnu: Add emacs-tree-sitter-core Pierre Langlois
2022-05-15 15:22               ` Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 26/27] gnu: Add emacs-tree-sitter Pierre Langlois
2022-03-29 19:43             ` [bug#49946] [PATCH v5 27/27] gnu: Add emacs-tree-sitter-langs Pierre Langlois
2022-03-29 19:55               ` Maxime Devos
2022-05-15 12:20                 ` Pierre Langlois
2022-05-15 14:33                   ` Maxime Devos
2022-05-15 14:55                     ` Pierre Langlois
2022-05-15 16:05                       ` Maxime Devos
2022-05-15 18:28             ` [bug#49946] [PATCH v6 00/27] gnu: Add tree-sitter for emacs Pierre Langlois
2022-05-15 18:38               ` [bug#49946] [PATCH v6 01/27] gnu: tree-sitter: Move to its own module Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 02/27] gnu: Add tree-sitter-cli Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 04/27] gnu: Add tree-sitter-c Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 05/27] gnu: Add tree-sitter-cpp Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 06/27] gnu: Add tree-sitter-bash Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 07/27] gnu: Add tree-sitter-css Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 08/27] gnu: Add tree-sitter-c-sharp Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 09/27] gnu: Add tree-sitter-elixir Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 10/27] gnu: Add tree-sitter-elm Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 11/27] gnu: Add tree-sitter-go Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 12/27] gnu: Add tree-sitter-html Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 13/27] gnu: Add tree-sitter-java Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 14/27] gnu: Add tree-sitter-javascript Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 15/27] gnu: Add tree-sitter-json Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 16/27] gnu: Add tree-sitter-julia Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 17/27] gnu: Add tree-sitter-ocaml Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 18/27] gnu: Add tree-sitter-php Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 19/27] gnu: Add tree-sitter-python Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 20/27] gnu: Add tree-sitter-ruby Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 21/27] gnu: Add tree-sitter-rust Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 22/27] gnu: Add tree-sitter-typescript Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 23/27] gnu: Add rust-tree-sitter Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 24/27] gnu: Add rust-tree-sitter-for-emacs Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 25/27] gnu: Add emacs-tree-sitter-core Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 26/27] gnu: Add emacs-tree-sitter Pierre Langlois
2022-05-15 18:38                 ` [bug#49946] [PATCH v6 27/27] gnu: Add emacs-tree-sitter-langs Pierre Langlois
     [not found]                 ` <20220515183834.18771-3-pierre.langlois@gmx.com>
2022-05-15 21:19                   ` [bug#49946] [PATCH v6 03/27] build-system: Add tree-sitter-build-system Pierre Langlois
2022-11-25  1:21               ` [bug#49946] [PATCH v7 00/32] gnu: Add tree-sitter for emacs Pierre Langlois
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 01/32] gnu: tree-sitter: Move to its own module Pierre Langlois
2022-11-25  6:37                   ` ( via Guix-patches via
2022-11-25 10:18                     ` Pierre Langlois
2023-02-09 10:11                       ` Andrew Tropin
2023-02-09 12:39                         ` zimoun
2023-02-09 14:04                           ` Andrew Tropin
2023-02-10 12:52                             ` Andrew Tropin
2023-02-10 15:48                               ` Pierre Langlois
2023-02-10 17:02                                 ` Pierre Langlois
2023-02-12  6:05                                   ` Andrew Tropin
2023-02-12 12:24                                     ` Pierre Langlois
2023-02-12  5:55                                 ` Andrew Tropin
2023-02-12 12:07                                   ` Pierre Langlois
2023-02-14 13:24                                     ` Andrew Tropin
2023-02-17 12:38                                       ` Pierre Langlois
2023-02-10 17:04                             ` Pierre Langlois
2023-02-12  6:28                               ` Andrew Tropin
2023-02-12 12:29                                 ` Pierre Langlois
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 02/32] gnu: tree-sitter: Update to 0.20.7 Pierre Langlois
2022-11-25  6:39                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 03/32] gnu: Add rust-html-escape Pierre Langlois
2022-11-25  6:46                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 04/32] gnu: Add rust-smallbitvec-2 Pierre Langlois
2022-11-25  6:46                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 05/32] gnu: Add tree-sitter-cli Pierre Langlois
2022-11-25  6:52                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 07/32] gnu: Add tree-sitter-c Pierre Langlois
2022-11-25  6:56                   ` ( via Guix-patches via
2022-11-25  6:57                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 08/32] gnu: Add tree-sitter-cpp Pierre Langlois
2022-11-25  7:00                   ` ( via Guix-patches via
2022-11-25  7:01                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 09/32] gnu: Add tree-sitter-bash Pierre Langlois
2022-11-25  6:58                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 10/32] gnu: Add tree-sitter-css Pierre Langlois
2022-11-25  6:58                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 11/32] gnu: Add tree-sitter-c-sharp Pierre Langlois
2022-11-25  6:58                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 12/32] gnu: Add tree-sitter-elixir Pierre Langlois
2022-11-25  6:59                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 13/32] gnu: Add tree-sitter-elm Pierre Langlois
2022-11-25  6:59                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 14/32] gnu: Add tree-sitter-go Pierre Langlois
2022-11-25  7:00                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 15/32] gnu: Add tree-sitter-haskell Pierre Langlois
2022-11-25  7:04                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 16/32] gnu: Add tree-sitter-html Pierre Langlois
2022-11-25  7:02                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 17/32] gnu: Add tree-sitter-java Pierre Langlois
2022-11-25  7:02                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 18/32] gnu: Add tree-sitter-javascript Pierre Langlois
2022-11-25  7:02                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 19/32] gnu: Add tree-sitter-json Pierre Langlois
2022-11-25  7:02                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 20/32] gnu: Add tree-sitter-julia Pierre Langlois
2022-11-25  7:04                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 21/32] gnu: Add tree-sitter-ocaml Pierre Langlois
2022-11-25  7:07                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 22/32] gnu: Add tree-sitter-php Pierre Langlois
2022-11-25  7:07                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 23/32] gnu: Add tree-sitter-python Pierre Langlois
2022-11-25  7:08                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 24/32] gnu: Add tree-sitter-r Pierre Langlois
2022-11-25  7:08                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 25/32] gnu: Add tree-sitter-ruby Pierre Langlois
2022-11-25  7:09                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 26/32] gnu: Add tree-sitter-rust Pierre Langlois
2022-11-25  7:09                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 27/32] gnu: Add tree-sitter-typescript Pierre Langlois
2022-11-25  7:09                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 28/32] gnu: Add rust-tree-sitter Pierre Langlois
2022-11-25  7:11                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 29/32] gnu: Add rust-tree-sitter-for-emacs Pierre Langlois
2022-11-25  7:17                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 30/32] gnu: Add emacs-tree-sitter-core Pierre Langlois
2022-11-25  7:22                   ` ( via Guix-patches via
2022-11-25  7:24                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 31/32] gnu: Add emacs-tree-sitter Pierre Langlois
2022-11-25  7:24                   ` ( via Guix-patches via
2022-11-25  1:21                 ` [bug#49946] [PATCH v7 32/32] gnu: Add emacs-tree-sitter-langs Pierre Langlois
2022-11-25  7:29                   ` ( via Guix-patches via
     [not found]                 ` <20221125012142.22579-7-pierre.langlois@gmx.com>
2022-11-25  1:57                   ` [bug#49946] [PATCH v7 06/32] build-system: Add tree-sitter-build-system Pierre Langlois
2023-02-07 11:25                     ` [bug#49946] [PATCH 00/31] Tree-sitter, node-gyp addon support and emacs-tree-sitter zimoun
2023-02-10 16:14                       ` Pierre Langlois
2023-02-12  7:42                     ` [bug#49946] [PATCH v7 06/32] build-system: Add tree-sitter-build-system Andrew Tropin
2023-02-17 12:37                 ` [bug#49946] [PATCH v8 0/7] Add tree-sitter support for Emacs 28 Pierre Langlois
2023-02-17 12:37                   ` [bug#49946] [PATCH v8 1/7] gnu: Add tree-sitter-lua Pierre Langlois
2023-02-17 12:37                   ` [bug#49946] [PATCH v8 2/7] gnu: Add tree-sitter-rust@0.20.2 Pierre Langlois
2023-02-17 12:37                   ` [bug#49946] [PATCH v8 3/7] gnu: Add rust-tree-sitter Pierre Langlois
2023-02-17 12:37                   ` [bug#49946] [PATCH v8 4/7] gnu: Add rust-tree-sitter-for-emacs Pierre Langlois
2023-02-17 12:37                   ` [bug#49946] [PATCH v8 5/7] gnu: Add emacs-tree-sitter-core Pierre Langlois
2023-02-17 12:48                     ` Pierre Langlois
2023-02-17 12:37                   ` [bug#49946] [PATCH v8 6/7] gnu: Add emacs-tree-sitter Pierre Langlois
2023-02-17 12:37                   ` [bug#49946] [PATCH v8 7/7] gnu: Add emacs-tree-sitter-langs Pierre Langlois
2022-03-07 18:30         ` [bug#49946] [WIP PATCH v3 00/26] gnu: Add tree-sitter for emacs (and neovim as well?) Luis Henrique Gomes Higino
2022-03-09 13:46           ` Pierre Langlois
2022-03-09 21:04             ` Maxime Devos
2022-03-10 11:17               ` Pierre Langlois
2022-03-10 12:36                 ` Maxime Devos
2022-03-10 13:19                   ` Pierre Langlois
2022-03-10 15:34                     ` Maxime Devos
2021-08-08 23:33   ` [bug#49946] [PATCH 08/31] gnu: node: Patch /usr/bin/env in node-gyp Pierre Langlois
2021-08-10 18:28     ` Maxime Devos
2021-08-11 15:36       ` Pierre Langlois
2021-09-23  9:18       ` Philip McGrath
2021-09-25 10:24         ` Pierre Langlois
2021-09-26 22:02           ` Philip McGrath
2021-09-27 10:11             ` Maxime Devos
2021-09-29  4:45               ` Philip McGrath
2021-09-29  6:31           ` Philip McGrath
2021-09-30 22:56           ` [bug#49946] [PATCH 0/3] guix: node-build-system: Support compiling addons with node-gyp Philip McGrath
2021-09-30 22:56             ` [bug#49946] [PATCH 1/3] gnu: node: Avoid duplicating build phases Philip McGrath
2021-10-02 11:03               ` Pierre Langlois
2021-09-30 22:56             ` [bug#49946] [PATCH 2/3] gnu: node: Update to 10.24.1 for bootstrapping Philip McGrath
2021-09-30 22:56             ` [bug#49946] [PATCH 3/3] guix: node-build-system: Support compiling addons with node-gyp Philip McGrath
2021-10-02 11:49               ` Pierre Langlois [this message]
2021-10-02 11:30             ` [bug#49946] [PATCH 0/3] " Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 09/31] " Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 10/31] gnu: Add node-nan Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 11/31] gnu: Add tree-sitter-c Pierre Langlois
2021-08-10 18:30     ` Maxime Devos
2021-08-08 23:33   ` [bug#49946] [PATCH 12/31] gnu: Add tree-sitter-cpp Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 13/31] gnu: Add tree-sitter-css Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 14/31] gnu: Add tree-sitter-go Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 15/31] gnu: Add tree-sitter-html Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 16/31] gnu: Add tree-sitter-java Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 17/31] gnu: Add tree-sitter-javascript Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 18/31] gnu: Add tree-sitter-json Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 19/31] gnu: Add tree-sitter-julia Pierre Langlois
2021-08-08 23:33   ` [bug#49946] [PATCH 20/31] gnu: Add tree-sitter-php Pierre Langlois
2021-08-08 23:43     ` [bug#49946] [PATCH 21/31] gnu: Add tree-sitter-python Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 22/31] gnu: Add tree-sitter-rust Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 23/31] gnu: Add tree-sitter-typescript Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 24/31] gnu: Add rust-bindgen@0.56 Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 25/31] gnu: Add rust-tree-sitter Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 26/31] gnu: rust-emacs-module: Update to 0.16 Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 27/31] gnu: rust-emacs-macros: Update to 0.17 Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 28/31] gnu: rust-emacs: " Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 29/31] gnu: Add emacs-tree-sitter-core Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 30/31] gnu: Add emacs-tree-sitter Pierre Langlois
2021-08-08 23:43       ` [bug#49946] [PATCH 31/31] gnu: Add emacs-tree-sitter-langs Pierre Langlois
2022-05-14 22:36 ` [bug#49946] State of emacs-tree-sitter Mekeor Melire
2022-05-15 12:14   ` Pierre Langlois
2023-01-25 22:04 ` [bug#49946] About migrating support from emacs-tree-sitter to treesit Luis Henrique Gomes Higino
2023-01-29 23:10   ` Luis Henrique Gomes Higino
2023-02-06  0:00     ` Pierre Langlois
2023-02-10  9:21 ` [bug#49946] [PATCH 00/31] Tree-sitter, node-gyp addon support and emacs-tree-sitter Andrew Tropin
2023-02-10 16:22   ` Pierre Langlois
2023-02-10 18:02   ` Liliana Marie Prikler
2023-02-11  8:12     ` Andrew Tropin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rzbtyyn.fsf@gmx.com \
    --to=pierre.langlois@gmx.com \
    --cc=49946@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    --cc=philip@philipmcgrath.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.