mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
[Backport release-26.05] vencord: 1.14.15 -> 1.15.0 (#548352)
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
|
||||
index 92c50e4e..67a306eb 100644
|
||||
index ddf8750c..655c9a7d 100644
|
||||
--- a/pnpm-lock.yaml
|
||||
+++ b/pnpm-lock.yaml
|
||||
@@ -162,8 +162,8 @@ importers:
|
||||
specifier: ^22.13.4
|
||||
version: 22.13.13
|
||||
@@ -160,8 +160,8 @@ importers:
|
||||
specifier: ^26.0.1
|
||||
version: 26.0.1
|
||||
'@types/react':
|
||||
- specifier: 18.3.1
|
||||
- version: 18.3.1
|
||||
+ specifier: 19.0.12
|
||||
+ version: 19.0.12
|
||||
+ specifier: 19.1.0
|
||||
+ version: 19.1.0
|
||||
'@types/react-dom':
|
||||
specifier: 18.3.1
|
||||
version: 18.3.1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
lib,
|
||||
nix-update,
|
||||
nodejs,
|
||||
pnpm_10,
|
||||
pnpm_11,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
stdenv,
|
||||
@@ -18,24 +18,24 @@
|
||||
buildWebExtension ? false,
|
||||
}:
|
||||
let
|
||||
pnpm = pnpm_10;
|
||||
pnpm = pnpm_11;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vencord";
|
||||
version = "1.14.15";
|
||||
version = "1.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Vendicated";
|
||||
repo = "Vencord";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-jQeLZa1rpKDkzWSpAqOa8snGRKLpv9xf9cwJ6hUwMzA=";
|
||||
hash = "sha256-z3EY/nc9pHPjuMteY8ubYM3sqgjASznEG6B1U4mNCU4=";
|
||||
};
|
||||
|
||||
patches = [ ./fix-deps.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace packages/vencord-types/package.json \
|
||||
--replace-fail '"@types/react": "18.3.1"' '"@types/react": "19.0.12"'
|
||||
--replace-fail '"@types/react": "18.3.1"' '"@types/react": "19.1.0"'
|
||||
'';
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
@@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
;
|
||||
inherit pnpm;
|
||||
fetcherVersion = 4;
|
||||
hash = "sha256-pm5f6bGm07pzNCqpDHRyKFnuX2ZTE5w9BtJu5xXPHiI=";
|
||||
hash = "sha256-JmTSfUVHsMG0TcOwXkZWinRxpONZagtwKzESd8Q4LlQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user