Unverified Commit aa9af4fb authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

paperless-ngx: use nodejs_24 (#480194)

parents 45c29e23 d2fa9e7b
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -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 [