openvscode-server: fix build with Node.js≥18.20.0
This commit is contained in:
parent
036605d16b
commit
bb22b55bde
@ -117,6 +117,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
./remove-node-download.patch
|
./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 = ''
|
postPatch = ''
|
||||||
export HOME=$PWD
|
export HOME=$PWD
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user