[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/25: gnu: esbuild-node: Use node-lts instead of node.
From: |
guix-commits |
Subject: |
23/25: gnu: esbuild-node: Use node-lts instead of node. |
Date: |
Wed, 18 Dec 2024 16:16:58 -0500 (EST) |
jlicht pushed a commit to branch master
in repository guix.
commit 31abde9afaeeabec8d267059c3e15d17081f0de8
Author: Jelle Licht <jlicht@fsfe.org>
AuthorDate: Sun Nov 3 13:04:06 2024 +0100
gnu: esbuild-node: Use node-lts instead of node.
* 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 8a214dfa36..3de10a0da7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2128,12 +2128,6 @@ directions.")
(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"
@@ -2156,7 +2150,7 @@ directions.")
(invoke "make" "test-go"))))))))
(native-inputs
(modify-inputs (package-native-inputs esbuild)
- (append node)))))
+ (append node-lts)))))
(define-public wwwoffle
(package
@@ -9584,7 +9578,7 @@ the Fediring.")
(build-system python-build-system)
(propagated-inputs
(list curl
- node))
+ node-lts))
(inputs
(list python
youtube-dl
- 06/25: gnu: llhttp-bootstrap: Update to 8.1.2., (continued)
- 06/25: gnu: llhttp-bootstrap: Update to 8.1.2., guix-commits, 2024/12/18
- 07/25: gnu: node-lts: Update to 20.18.1 [security fixes]., guix-commits, 2024/12/18
- 04/25: gnu: Remove c-ares-for-node., guix-commits, 2024/12/18
- 09/25: gnu: node-acorn: Update to 8.7.1., guix-commits, 2024/12/18
- 12/25: gnu: r-v8: Fix build with node-lts@20., guix-commits, 2024/12/18
- 21/25: gnu: ruby-execjs: Use node-lts instead of node., guix-commits, 2024/12/18
- 19/25: gnu: qtwebengine-5: Use node-lts instead of node., guix-commits, 2024/12/18
- 18/25: gnu: python-cloudscraper: Use node-lts instead of node., guix-commits, 2024/12/18
- 20/25: gnu: ruby-autoprefixer-rails: Use node-lts instead of node., guix-commits, 2024/12/18
- 25/25: gnu: Add node alias for node-lts., guix-commits, 2024/12/18
- 23/25: gnu: esbuild-node: Use node-lts instead of node.,
guix-commits <=
- 22/25: gnu: vlang: Use node-lts instead of node., guix-commits, 2024/12/18
- 15/25: gnu: ocaml-ezjsonm: Use node-lts instead of node., guix-commits, 2024/12/18
- 14/25: gnu: python-cwl-utils: Use node-lts instead of node., guix-commits, 2024/12/18
- 24/25: gnu: node: Rename variable to node-bootstrap and hide package., guix-commits, 2024/12/18
- 16/25: gnu: js-of-ocaml: Use node-lts instead of node., guix-commits, 2024/12/18
- 05/25: gnu: Add libuv-for-node-lts., guix-commits, 2024/12/18