discourse: Use nodejs18

Suggested-by: talyz <kim.lindberger@gmail.com>
This commit is contained in:
Marcel Müller 2023-09-13 20:26:05 +02:00
parent 8e8a6ed409
commit bbdccb8eb9

View File

@ -37,7 +37,7 @@
, yarn
, fixup_yarn_lock
, nodePackages
, nodejs_16
, nodejs_18
, jq
, moreutils
@ -161,9 +161,9 @@ let
cd ../..
mkdir -p vendor/v8/${stdenv.hostPlatform.system}/libv8/obj/
ln -s "${nodejs_16.libv8}/lib/libv8.a" vendor/v8/${stdenv.hostPlatform.system}/libv8/obj/libv8_monolith.a
ln -s "${nodejs_18.libv8}/lib/libv8.a" vendor/v8/${stdenv.hostPlatform.system}/libv8/obj/libv8_monolith.a
ln -s ${nodejs_16.libv8}/include vendor/v8/include
ln -s ${nodejs_18.libv8}/include vendor/v8/include
mkdir -p ext/libv8-node
echo '--- !ruby/object:Libv8::Node::Location::Vendor {}' >ext/libv8-node/.location.yml
@ -211,7 +211,7 @@ let
nodePackages.terser
nodePackages.patch-package
yarn
nodejs_16
nodejs_18
jq
moreutils
];