[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH 08/31] gnu: node: Patch /usr/bin/env in node-gyp.
From: |
Maxime Devos |
Subject: |
[bug#49946] [PATCH 08/31] gnu: node: Patch /usr/bin/env in node-gyp. |
Date: |
Tue, 10 Aug 2021 20:28:56 +0200 |
User-agent: |
Evolution 3.34.2 |
Pierre Langlois schreef op ma 09-08-2021 om 00:33 [+0100]:
> @@ -120,6 +120,10 @@
> (("'/usr/bin/env'")
> (string-append "'" (which "env") "'")))
>
> + ;; Fix /usr/bin/env shebang in node-gyp.
> + (substitute* "deps/npm/node_modules/node-gyp/bin/node-gyp.js"
> + (("#!/usr/bin/env") (string-append "#!" (which "env"))))
For cross-compilation, this should most likely be
(string-append (assoc-ref inputs "coreutils") "/bin/env")
or something like that instead. Likewise in other places.
The old code uses (which "env") in some cases, but those
are probably wrong (except where it is patched in tests).
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#49946] [PATCH 00/31] Tree-sitter, node-gyp addon support and emacs-tree-sitter, Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 01/31] gnu: rust-chunked-transfer: Update to 1.4.0., Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 03/31] gnu: Add rust-html-escape., Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 06/31] gnu: rust-spin: Update to 0.7., Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 07/31] gnu: Add tree-sitter., Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 07/31] gnu: Add tree-sitter., Pierre Langlois, 2021/08/13
- [bug#49946] [PATCH v2 00/33] gnu: Add tree-sitter., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 01/33] gnu: rust-chunked-transfer: Update to 1.4.0., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 13/33] gnu: Add tree-sitter-cpp., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 04/33] gnu: Add rust-smallbitvec., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 18/33] gnu: Add tree-sitter-java., Pierre Langlois, 2021/08/29