draupnir: Use NodeJS 26

(cherry picked from commit 9895b81ff7)
This commit is contained in:
Rory&
2026-09-01 03:21:27 +00:00
committed by github-actions[bot]
parent 5296977270
commit dd571fa393

View File

@@ -2,7 +2,7 @@
lib,
fetchFromGitHub,
makeBinaryWrapper,
nodejs_24,
nodejs_26,
matrix-sdk-crypto-nodejs,
python3,
sqlite,
@@ -16,7 +16,7 @@
fetchpatch2,
}:
let
nodeSources = srcOnly nodejs_24;
nodeSources = srcOnly nodejs_26;
in
buildNpmPackage (finalAttrs: {
@@ -81,7 +81,7 @@ buildNpmPackage (finalAttrs: {
rm $out/lib/node_modules/draupnir/node_modules/draupnir
# Create wrapper executable
makeWrapper ${lib.getExe nodejs_24} $out/bin/draupnir \
makeWrapper ${lib.getExe nodejs_26} $out/bin/draupnir \
--add-flags "--enable-source-maps" \
--add-flags "$out/lib/node_modules/draupnir/dist/index.js"