Skip to content

Commit 82e2438

Browse files
pluiedevzeme-wana
authored andcommitted
[23.11] vesktop: update tsx dependency to ^4.6.1
Fixes the build failure caused by outdated versions of the tsx library on Node 18.19+ (privatenumber/tsx#421). Fixes NixOS#293083
1 parent f23343f commit 82e2438

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
, stdenvNoCC
44
, gcc13Stdenv
55
, fetchFromGitHub
6+
, fetchpatch
67
, substituteAll
78
, makeWrapper
89
, makeDesktopItem
@@ -75,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
7576
dontBuild = true;
7677
dontFixup = true;
7778
outputHashMode = "recursive";
78-
outputHash = "sha256-v6ibAcfYgr1VjGK7NUF4DKd5da03mZndPUAnSl++RqE=";
79+
outputHash = "sha256-hW7GXaYzdUe23pf46HAtFpd742yL8Guwno0M3CIGpQQ=";
7980
};
8081

8182
nativeBuildInputs = [
@@ -88,6 +89,11 @@ stdenv.mkDerivation (finalAttrs: {
8889
patches = [
8990
(substituteAll { inherit vencord; src = ./use_system_vencord.patch; })
9091
./disable_update_checking.patch
92+
(fetchpatch {
93+
name = "use-tsx-4.6.1.patch";
94+
url = "https://github.com/pluiedev/Vesktop/commit/5651f2674e90e21dc557733dcfcce9c9d316a10f.patch";
95+
hash = "sha256-Qs87MuRrc8Sx3Gctfb90QJW3JyGqW6wI0aqtyzsP1aQ=";
96+
})
9197
];
9298

9399
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;

0 commit comments

Comments
 (0)