feat: update nodejs 22 references to 24

This commit is contained in:
Aarnav Tale
2026-03-17 13:24:55 -04:00
parent b1361e9062
commit 4fb1cf059e
6 changed files with 32 additions and 20 deletions
+3 -3
View File
@@ -3,7 +3,7 @@
headplane-ssh-wasm,
lib,
makeWrapper,
nodejs_22,
nodejs_24,
pnpm_10,
stdenv,
}: let
@@ -19,7 +19,7 @@ in
nativeBuildInputs = [
makeWrapper
nodejs_22
nodejs_24
pnpm_10.configHook
git
];
@@ -47,7 +47,7 @@ in
cp -r node_modules $out/share/headplane/
cp -r drizzle $out/share/headplane/
sed -i "s;$PWD;../..;" $out/share/headplane/build/server/index.js
makeWrapper ${lib.getExe nodejs_22} $out/bin/headplane \
makeWrapper ${lib.getExe nodejs_24} $out/bin/headplane \
--chdir $out/share/headplane \
--add-flags $out/share/headplane/build/server/index.js
runHook postInstall