[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74187] [PATCH v2 23/24] gnu: esbuild-node: Use node-lts instead of
From: |
jlicht |
Subject: |
[bug#74187] [PATCH v2 23/24] gnu: esbuild-node: Use node-lts instead of node. |
Date: |
Wed, 4 Dec 2024 08:49:45 +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 6960207ea9..b8661814b2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2127,12 +2127,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"
@@ -2155,7 +2149,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
@@ -9557,7 +9551,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 v2 05/24] gnu: Add libuv-for-node-lts., (continued)
- [bug#74187] [PATCH v2 05/24] gnu: Add libuv-for-node-lts., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 14/24] gnu: python-cwl-utils: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 11/24] gnu: node-addon-api: Update to 8.3.0., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 07/24] gnu: node-lts: Update to 20.18.1 [security fixes]., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 03/24] gnu: node-lts: Replace customized c-ares-for-node by c-ares., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 12/24] gnu: r-v8: Fix build with node-lts@20., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 15/24] gnu: ocaml-ezjsonm: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 13/24] gnu: cwltool: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 08/24] gnu: node-uglify-js: Update to 3.19.3., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 18/24] gnu: python-cloudscraper: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 23/24] gnu: esbuild-node: Use node-lts instead of node.,
jlicht <=
- [bug#74187] [PATCH v2 21/24] gnu: ruby-execjs: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 24/24] gnu: node: Rename variable node-bootstrap and hide package., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 17/24] gnu: fmp: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 19/24] gnu: qtwebengine-5: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 16/24] gnu: js-of-ocaml: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 00/24] Bumping node to 20.18.0 and beyond, Ludovic Courtès, 2024/12/12