Unverified Commit 53b2a63a authored by Sefa Eyeoglu's avatar Sefa Eyeoglu
Browse files

vencord: combine overridden attributes for fetchPnpmDeps



`fetchPnpmDeps` accepts all kinds of attributes, so overriding them is
almost never necessary.

Signed-off-by: default avatarSefa Eyeoglu <contact@scrumplex.net>
parent 2e7e1615
Loading
Loading
Loading
Loading
+11 −8
Original line number Diff line number Diff line
@@ -35,14 +35,17 @@ stdenv.mkDerivation (finalAttrs: {
      --replace-fail '"@types/react": "18.3.1"' '"@types/react": "19.0.12"'
  '';

  pnpmDeps =
    (fetchPnpmDeps {
      inherit (finalAttrs) pname src;
  pnpmDeps = fetchPnpmDeps {
    inherit (finalAttrs)
      pname
      src
      patches
      postPatch
      ;
    pnpm = pnpm_10;
    fetcherVersion = 2;
    hash = "sha256-M9yZxBtuZg5KwG2Sli+f6Ionwccq7F7tI8/FnP1iObA=";
    }).overrideAttrs
      { inherit (finalAttrs) patches postPatch; };
  };

  nativeBuildInputs = [
    git