paperless-ngx: use nodejs_24
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user