[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74187] [PATCH 19/20] gnu: esbuild-node: Use node-lts instead of nod
From: |
jlicht |
Subject: |
[bug#74187] [PATCH 19/20] gnu: esbuild-node: Use node-lts instead of node. |
Date: |
Sun, 3 Nov 2024 13:04:06 +0100 |
From: Jelle Licht <jlicht@fsfe.org>
* gnu/packages/web.scm (esbuild-node)[#:phases]<build-platform>: Remove
workaround needed for building with older versions of Node.
[native-inputs]: Replace node by node-lts.
Change-Id: Iedf30dc1a395e674007c08ce6c0881dbb0f94f0e
---
gnu/packages/web.scm | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 842c25b509..954da312bd 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2126,12 +2126,6 @@ (define-public esbuild-node
(add-after 'build 'build-platform
(lambda* (#:key unpack-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" unpack-path)
- ;; We're using Node 10, which doesn't have this method.
- (substitute* "scripts/esbuild.js"
- (("exports.buildNativeLib" m)
- (string-append
- "Object.fromEntries = entries => entries.reduce((result,
entry) => (result[entry[0]] = entry[1], result), {});\n"
- m)))
;; Must be writable.
(for-each make-file-writable (find-files "." "."))
(invoke "node" "scripts/esbuild.js"
@@ -2154,7 +2148,7 @@ (define-public esbuild-node
(invoke "make" "test-go"))))))))
(native-inputs
(modify-inputs (package-native-inputs esbuild)
- (append node)))))
+ (append node-lts)))))
(define-public wwwoffle
(package
@@ -9517,7 +9511,7 @@ (define-public archivebox
(build-system python-build-system)
(propagated-inputs
(list curl
- node))
+ node-lts))
(inputs
(list python
youtube-dl
--
2.46.0
- [bug#74187] [PATCH 12/20] gnu: js-of-ocaml: Use node-lts instead of node., (continued)
- [bug#74187] [PATCH 12/20] gnu: js-of-ocaml: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 15/20] gnu: qtwebengine-5: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 14/20] gnu: python-cloudscraper: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 11/20] gnu: ocaml-ezjsonm: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 02/20] gnu: Remove nghttp2-for-node., jlicht, 2024/11/03
- [bug#74187] [PATCH 13/20] gnu: fmp: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 20/20] gnu: node: Rename variable node-bootstrap and hide package., jlicht, 2024/11/03
- [bug#74187] [PATCH 16/20] gnu: ruby-autoprefixer-rails: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 17/20] gnu: ruby-execjs: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 18/20] gnu: vlang: Use node-lts instead of node., jlicht, 2024/11/03
- [bug#74187] [PATCH 19/20] gnu: esbuild-node: Use node-lts instead of node.,
jlicht <=
- [bug#74187] [PATCH 00/20] Bumping node to 20.18.0 and beyond, Ludovic Courtès, 2024/11/18