paperless-ngx: use nodejs_24

This commit is contained in:
Antoine du Hamel
2026-01-15 00:14:22 +01:00
parent 61db79b0c6
commit d2fa9e7b8a
+5 -7
View File
@@ -4,7 +4,7 @@
fetchFromGitHub,
fetchPypi,
node-gyp,
nodejs_20,
nodejs,
nixosTests,
gettext,
python3,
@@ -19,7 +19,7 @@
unpaper,
fetchPnpmDeps,
pnpmConfigHook,
pnpm_10,
pnpm,
poppler-utils,
liberation_ttf,
xcbuild,
@@ -61,8 +61,6 @@ let
};
};
pnpm' = pnpm_10.override { nodejs = nodejs_20; };
path = lib.makeBinPath [
ghostscript_headless
(imagemagickBig.override { ghostscript = ghostscript_headless; })
@@ -82,18 +80,18 @@ let
src = src + "/src-ui";
pnpmDeps = fetchPnpmDeps {
inherit pnpm;
inherit (finalAttrs) pname version src;
pnpm = pnpm';
fetcherVersion = 2;
hash = "sha256-pG7olcBq5P52CvZYLqUjb+RwxjbQbSotlS50pvgm7WQ=";
};
nativeBuildInputs = [
node-gyp
nodejs_20
nodejs
pkg-config
pnpmConfigHook
pnpm'
pnpm
python3
]
++ lib.optionals stdenv.hostPlatform.isDarwin [