Merge pull request #301508 from marsam/update-nodejs_18
nodejs_18: 18.19.1 -> 18.20.1
This commit is contained in:
commit
07cf2e8303
2 changed files with 5 additions and 5 deletions
|
@ -19,11 +19,8 @@ let
|
|||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
# The change to minor version 18.20.0 breaks compatibility with ffi-napi
|
||||
# This breaks the compilation of some nix packages.
|
||||
# While this is investigated and fixed, do not upgrade the minor version.
|
||||
version = "18.19.1";
|
||||
sha256 = "sha256-CQ+WouzeCAtrOCxtZCvKXQvkcCp4y1Vb578CsgvRbe0=";
|
||||
version = "18.20.1";
|
||||
sha256 = "sha256-xthnqfJeY1SBDv+4IB+BR6FbKAAOUHkP2gDRyhX0m4o=";
|
||||
patches = [
|
||||
./disable-darwin-v8-system-instrumentation.patch
|
||||
./bypass-darwin-xcrun-node16.patch
|
||||
|
|
|
@ -117,6 +117,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
./remove-node-download.patch
|
||||
];
|
||||
|
||||
# Disable NAPI_EXPERIMENTAL to allow to build with Node.js≥18.20.0.
|
||||
env.NIX_CFLAGS_COMPILE = "-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT";
|
||||
|
||||
postPatch = ''
|
||||
export HOME=$PWD
|
||||
|
||||
|
|
Loading…
Reference in a new issue