vencord: combine overridden attributes for fetchPnpmDeps

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

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2025-12-18 12:24:09 +01:00
parent 2e7e1615b4
commit 53b2a63a25
+11 -8
View File
@@ -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;
pnpm = pnpm_10;
fetcherVersion = 2;
hash = "sha256-M9yZxBtuZg5KwG2Sli+f6Ionwccq7F7tI8/FnP1iObA=";
}).overrideAttrs
{ inherit (finalAttrs) patches postPatch; };
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs)
pname
src
patches
postPatch
;
pnpm = pnpm_10;
fetcherVersion = 2;
hash = "sha256-M9yZxBtuZg5KwG2Sli+f6Ionwccq7F7tI8/FnP1iObA=";
};
nativeBuildInputs = [
git