Skip to content

Commit e39d1aa

Browse files
authored
vencord: 1.13.1 -> 1.13.3 (NixOS#450960)
2 parents 0e76450 + 5748411 commit e39d1aa

2 files changed

Lines changed: 30 additions & 7 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
2+
index 2ba2d317..9758074b 100644
3+
--- a/pnpm-lock.yaml
4+
+++ b/pnpm-lock.yaml
5+
@@ -162,7 +162,7 @@ importers:
6+
specifier: ^22.13.4
7+
version: 22.13.13
8+
'@types/react':
9+
- specifier: 18.3.1
10+
+ specifier: 19.0.12
11+
version: 19.0.12
12+
'@types/react-dom':
13+
specifier: 18.3.1

pkgs/by-name/ve/vencord/package.nix

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,29 @@
1818

1919
stdenv.mkDerivation (finalAttrs: {
2020
pname = "vencord";
21-
version = "1.13.1";
21+
version = "1.13.3";
2222

2323
src = fetchFromGitHub {
2424
owner = "Vendicated";
2525
repo = "Vencord";
2626
tag = "v${finalAttrs.version}";
27-
hash = "sha256-FqRRpsS1NPpxJr6iaDvQJ3fuX07oo08lZ6f+oEQb3MM=";
27+
hash = "sha256-wKLI2YE1rEzkRjDeM85XAx2DIrWYGoZrQT8OHtsNJ7E=";
2828
};
2929

30-
pnpmDeps = pnpm_10.fetchDeps {
31-
inherit (finalAttrs) pname src;
32-
fetcherVersion = 2;
33-
hash = "sha256-JP9HOaP3DG+2F89tC77JZFD0ls35u/MzxNmvMCbBo9Y=";
34-
};
30+
patches = [ ./fix-deps.patch ];
31+
32+
postPatch = ''
33+
substituteInPlace packages/vencord-types/package.json \
34+
--replace-fail '"@types/react": "18.3.1"' '"@types/react": "19.0.12"'
35+
'';
36+
37+
pnpmDeps =
38+
(pnpm_10.fetchDeps {
39+
inherit (finalAttrs) pname src;
40+
fetcherVersion = 2;
41+
hash = "sha256-5MjxEs+jbowJJbJ9+Z+vppFImpB+PZzEhntwRAgv+xM=";
42+
}).overrideAttrs
43+
{ inherit (finalAttrs) patches postPatch; };
3544

3645
nativeBuildInputs = [
3746
git
@@ -96,6 +105,7 @@ stdenv.mkDerivation (finalAttrs: {
96105
Gliczy
97106
NotAShelf
98107
Scrumplex
108+
ryand56
99109
];
100110
};
101111
})

0 commit comments

Comments
 (0)