This change removes the use-module (gnu packages node-xyz) import from (gnu
packages node). node-xyz is not actually used in node and seems to have
been accidentally added in f540ee5ef8.
Keeping it in can lead to circular dependency issues.
Change-Id: I292323510b918a5e5c154a06f06cc608997557d6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
As this seems to fail, and is marked as flaky by upstream.
* gnu/packages/node.scm (node-lts):[arguments]: Skip
test-debugger-heap-profiler on 32bit systems.
Change-Id: Idb89e6d28f28fd240cd27d0bc710a35bf05f57d4
* gnu/packages/node.scm (node-lts): Update to 22.14.0.
[source]<snippet>: Remove redundant workaround for unbundling.
[#:phases]<patch-problematic-tests>: New phase. Patch tests that fail when
trying to connect to the wrong address when using IPv6.
Change-Id: Icd93e2954d84824ff8b74ff58a24666c3de27e76
Introduce (modify-json), (delete-fields), and (replace-fields) to node-build-system
This change introduces helper procedures (modify-json) which takes in lambdas
which modify the target json #:file which defaults to package.json
This change also includes (delete-fields) and (replace-fields) to help deleting
and replacing the value of fields in a package.json file.
* guix/build/node-build-system.scm
(modify-json, modify-json-fields, delete-fields, replace-fields,
delete-dev-dependencies): New API exported procedures.
(with-atomic-json-file-replacement, delete-dependencies): Change
procedures to adapt to the new API.
* gnu/packages/node.scm (node-ms-bootstrap,
node-binary-search-bootstrap, node-debug-boostrap,
node-llparse-builder-bootstrap, node-llparse-frontend-boostrap,
node-llparse-bootstrap): Use new API procedures.
* gnu/packages/node-xyz.scm (node-acorn, node-addon-api,
node-buffer-crc32, node-crx3, node-debug, node-file-uri-to-path,
node-ieee754, node-inherits, node-irc, node-irc-colors, node-minimist,
node-ms, node-nan, node-normalize-path, node-once, node-path-key,
node-pbf, node-protocol-buffers-schema, node-readable-stream,
node-resolve-protobuf-schema, node-safe-buffer,
node-safe-stable-stringify, node-semver, node-serialport,
node-serialport-bindings, node-serialport-stream, node-sqlite3,
node-string-decoder, node-tiddlywiki, node-wrappy, node-yazl): Use new
API procedures.
Change-Id: I957f7ca814078d2136d5261985174820235f1369
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
* gnu/packages/node.scm (node-lts): Update to 22.12.0.
[#:phases]<delete-problematic-tests>: Delete tests that fail due to the build
container. Delete tests that require a DNS resolver.
[inputs]: Replace c-ares by c-ares-for-node-lts.
Replace icu4c by icu4c-73.
[native-inputs]: Replace c-ares by c-ares-for-node-lts.
Replace icu4c by icu4c-73.
Change-Id: I8cbc790bd82c55b48f8917e6405b37569b29dc1c
The node alias should henceforth refer to versions of Node.js that are at
least as recent as node-lts.
* gnu/packages/node.scm (node): New variable.
Change-Id: I1f19914715dda7da6bb45917e32b53227b480929
The package formerly known as node has security issues, so should only be used
to bootstrap more recent and secure versions of node.
* gnu/packages/node.scm (node): Rename to...
(node-bootstrap): ... this, and make it a hidden package.
Change-Id: I536a8f55faa14f8221915467c2981053f4c4d70e
* gnu/packages/node.scm (node)[source]: Adjust snippet to adjust a test
to accept shorter version strings.
Change-Id: If8384497035e44f4876357877941cbf175acf879
This also reduces the closure size of node-lts from 255 MiB to
172 MiB (on x86_64-linux).
* gnu/packages/node.scm (node-lts)[inputs]: Remove PYTHON-WRAPPER.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
...and use it in packages that do not yet support 3.0.
* gnu/packages/tls.scm (openssl): Rename to ...
(openssl-1.1): ... this.
(openssl/fixed): Inherit from OPENSSL-1.1.
(openssl-3.0): Likewise.
(openssl): Turn into alias for OPENSSL-1.1.
* gnu/packages/ruby.scm (ruby-2.6)[inputs]: Change from OPENSSL to OPENSSL-1.1.
(ruby-3.0)[inputs]: Change "openssl" input to OPENSSL.
(ruby-3.1): Inherit from RUBY-3.0.
* gnu/packages/python.scm (python-2.7)[inputs]: Change from OPENSSL to
OPENSSL-1.1.
(python-3.9)[inputs]: Replace "openssl" with OPENSSL.
* gnu/packages/python-crypto.scm (python-cryptography)[inputs]: Change from
OPENSSL to OPENSSL-1.1.
* gnu/packages/databases.scm (mariadb)[inputs]: Likewise.
* gnu/packages/node.scm (node)[native-inputs, inputs]: Likewise.
(node-lts)[native-inputs]: Likewise.
* gnu/packages/web.scm (nghttp2-for-node): New variable.
* gnu/packages/node.scm (node, node-lts)[native-inputs, inputs]: Change from
NGHTTP2 to NGHTTP2-FOR-NODE.
* gnu/packages/node.scm (node)[phases]{configure}: Unwind the stack before
invoking the exception handler.
{patch-hardcoded-program-references}: Use search-input-file where appropriate.
* gnu/packages/node.scm (node-lts): Update to 14.19.3.
[arguments]: Disable test that requires networking.
[native-inputs]: Replace icu4c-67 with icu4c-70.
[inputs]: Replace icu4c-67 with icu4c-70.
gnu/packages/node.scm (node-llparse-bootstrap)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
gnu/packages/node.scm (node-llparse-frontend-bootstrap)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
gnu/packages/node.scm (node-llparse-builder-bootstrap)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
gnu/packages/node.scm (node-debug-bootstrap)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
gnu/packages/node.scm (node-binary-search-bootstrap)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
gnu/packages/node.scm (node-ms-bootstrap)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>