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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user