Commit Graph

63 Commits

Author SHA1 Message Date
Antoine du Hamel
59777cc547 nodejs: fix tests for OpenSSL 3.2 2024-09-22 21:26:13 +02:00
Emily
26777819fb
Merge pull request #327653 from tie/nodejs-ninja
nodejs: use ninja for build
2024-08-10 19:59:05 +01:00
Ivan Trubach
3cf3f6ae23 nodejs: allow building for vfpv2 2024-07-26 11:00:33 +03:00
Karel Kočí
e5906ddfd4 nodejs: fix cross compilation for armv7l
The v8 library supports only limited number of build platforms based on
the host architecture. The rule there is the bitness (the mixing of
32bit and 64bit architectures seems to be in most cases disallowed).
Thus this adds usage of the emulator of the host platform and builds
tools for that.

Co-authored-by: Ivan Trubach <mr.trubach@icloud.com>
2024-07-26 10:59:32 +03:00
Antoine du Hamel
f75d50324f nodejs: use upstream patch instead of custom one 2024-07-21 18:40:43 +02:00
Antoine du Hamel
2f1765713f
nodejs_18: 18.20.3 -> 18.20.4 2024-07-08 21:04:26 +02:00
Ivan Trubach
ce685a8422 nodejs: fix sandboxed build on darwin 2024-07-06 18:32:36 +03:00
github-actions[bot]
5cfda25a07
Merge staging-next into staging 2024-07-02 12:01:51 +00:00
K900
7c1177c514 nodejs_18: pin to Python 3.11, fix tests with OpenSSL 3.0.14 2024-07-02 11:34:21 +03:00
Antoine du Hamel
a54099c1b8
nodejs_18: 18.20.2 -> 18.20.3 (#316262) 2024-06-28 11:52:39 +02:00
Antoine du Hamel
b26563aae2 nodejs: run JS test suite as part of the checks 2024-05-29 19:26:08 +02:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
Mario Rodas
f8b0835980 nodejs_18: 18.20.1 -> 18.20.2
Changelog: https://github.com/nodejs/node/releases/tag/v18.20.2
2024-04-15 04:20:00 +00:00
Mario Rodas
036605d16b nodejs_18: 18.19.1 -> 18.20.1
https://github.com/nodejs/node/releases/tag/v18.20.0
https://github.com/nodejs/node/releases/tag/v18.20.1
2024-04-03 04:20:00 +00:00
Rucadi
49adc35edc
nodejs_18: Add comment to warn about ffi-napi compatibility problem to prevent updating to newer versions. 2024-03-28 23:23:15 +01:00
rucadi
aeae82eb6b Revert "nodejs_18: 18.19.1 -> 18.20.0"
This reverts commit b5e930a583.
2024-03-28 19:41:21 +01:00
Mario Rodas
b5e930a583 nodejs_18: 18.19.1 -> 18.20.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.20.0
2024-03-26 04:20:00 +00:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Mario Rodas
4ae7cfd895 nodejs_18: 18.19.0 -> 18.19.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.19.1
2024-02-14 04:20:00 +00:00
Mario Rodas
3f05c9a8f8 nodejs_18: 18.18.2 -> 18.19.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.19.0
2023-11-29 04:20:00 +00:00
Randy Eckenrode
b034e4cbf1
nodejs_18: fix build with clang 16 mk2
Trying to backport the fixes from v8 caused crashes with npm when
building other packages, so just build it with clang 15.
2023-10-29 09:58:01 -04:00
Randy Eckenrode
81d2db9460
Revert "nodejs_18: fix build with clang 16"
This reverts commit 81e4ca55c8.
2023-10-29 09:58:00 -04:00
Randy Eckenrode
81e4ca55c8
nodejs_18: fix build with clang 16
Backport a patch from v8 that resolves an enum width error when building
with clang 16.
2023-10-26 20:08:29 -04:00
Mario Rodas
bf85265bb3 nodejs_18: 18.18.1 -> 18.18.2
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.2
2023-10-13 04:20:00 +00:00
Mario Rodas
c8e2c3fb58 nodejs_18: 18.18.0 -> 18.18.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.1
2023-10-11 04:20:00 +00:00
Mario Rodas
2f2a55e675 nodejs_18: 18.17.1 -> 18.18.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.0
2023-09-19 04:20:00 +00:00
Ivan Trubach
2c88411556 nodejs_20: remove upstreamed patch 2023-08-28 12:20:57 +03:00
Ivan Trubach
e29c330939 nodejs: use fetchpatch for cross-compilation patches 2023-08-28 12:16:30 +03:00
Ivan Trubach
3751f6abb0 nodejs_{18,20}: fix cross compilation from aarch64-linux
This change adds a fix for Node.js build system passing flags intended
for the target toolchain to the host toolchain.
2023-08-28 12:16:30 +03:00
Ivan Trubach
b0312f6daf nodejs_18: backport v8 trap handler conditional compilation 2023-08-28 12:16:29 +03:00
Mario Rodas
25441183e2 nodejs_18: 18.17.0 -> 18.17.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.17.1
2023-08-09 04:20:00 +00:00
R. Ryantm
aa0b11935a nodejs: 18.16.1 -> 18.17.0 2023-07-19 21:01:22 +00:00
Mario Rodas
75f22e0d83 nodejs_18: 18.16.0 -> 18.16.1
The following CVEs are fixed in this release:
- CVE-2023-30581: mainModule.__proto__ Bypass Experimental Policy Mechanism (High)
- CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (Medium)
- CVE-2023-30588: Process interuption due to invalid Public Key information in x509 certificates (Medium)
- CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR (Medium)
- CVE-2023-30590: DiffieHellman does not generate keys after setting a private key (Medium)

https://github.com/nodejs/node/releases/tag/v18.16.1
2023-06-21 04:20:00 +00:00
Lily Foster
47efc60157
nodejs: add helper patch for buildNpmPackage 2023-05-20 18:29:36 -04:00
Mario Rodas
aae28d05fe nodejs-18_x: 18.15.0 -> 18.16.0
https://github.com/nodejs/node/releases/tag/v18.16.0
2023-04-13 04:20:00 +00:00
Mario Rodas
708dcbce92 nodejs-18_x: 18.14.2 -> 18.15.0
https://github.com/nodejs/node/releases/tag/v18.15.0
2023-03-07 04:20:00 +00:00
Mario Rodas
4a5744b789 nodejs-18_x: 18.14.1 -> 18.14.2
https://github.com/nodejs/node/releases/tag/v18.14.2
2023-02-21 04:20:00 +00:00
Mario Rodas
cfdcb8d7fa nodejs-18_x: 18.14.0 -> 18.14.1
https://github.com/nodejs/node/releases/tag/v18.14.1
2023-02-17 04:20:00 +00:00
Vladimír Čunát
d0d8c15bad
Merge branch 'master' into staging-next
pkgs/development/web/nodejs/v18.nix conflict:
  the fetched patch was already included in this release.
2023-02-03 23:02:19 +01:00
Mario Rodas
4a53b3bede nodejs-18_x: 18.13.0 -> 18.14.0
https://github.com/nodejs/node/releases/tag/v18.14.0
2023-02-03 04:20:00 +00:00
Zhaofeng Li
d62bfb194d nodejs: Fix build on RISC-V 2023-01-23 14:16:29 -07:00
Anthony Roussel
7146e2a152
nodejs-18_x: 18.12.1 -> 18.13.0 2023-01-13 17:27:25 +01:00
Winter
6a5211f123 nodejs-{16,18,19}_x: backport npm pack fixes from npm v9 2022-12-13 19:40:27 -05:00
Mario Rodas
57ea1f2119 nodejs-18_x: 18.12.0 -> 18.12.1
https://github.com/nodejs/node/releases/tag/v18.12.1
2022-11-04 04:20:00 +00:00
Mario Rodas
1cdd36c0d2 nodejs-18_x: 18.11.0 -> 18.12.0
https://github.com/nodejs/node/releases/tag/v18.12.0
2022-10-22 04:20:00 +00:00
Mario Rodas
d8043fe30e nodejs-18_x: 18.10.0 -> 18.11.0
https://github.com/nodejs/node/releases/tag/v18.11.0
2022-10-14 04:20:00 +00:00
Lily Foster
2998b31b02 nodejs: add back newer bypass-xcrun patch 2022-10-01 08:54:20 +09:00
R. Ryantm
95059b974e nodejs-18_x: 18.9.1 -> 18.10.0 2022-09-29 10:41:03 +00:00
Mario Rodas
117f0a80ec
Merge pull request #192784 from RaitoBezarius/fix-yarn2nix-moretea-for-older-openssl
yarn2nix-moretea-openssl_1_1: pass openssl for Node.js v18, unbreak it
2022-09-24 11:25:07 -05:00
Raito Bezarius
e7585fad46 yarn2nix-moretea-openssl_1_1: pass openssl for Node.js v18, unbreak this module 2022-09-24 17:58:07 +02:00