Skip to content

Commit

Permalink
[23.11] vesktop: update tsx dependency to ^4.6.1
Browse files Browse the repository at this point in the history
Fixes the build failure caused by outdated versions of the tsx library
on Node 18.19+ (privatenumber/tsx#421).

Fixes #293083
  • Loading branch information
pluiedev committed Mar 17, 2024
1 parent ddcd759 commit 56660ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/by-name/ve/vesktop/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, stdenvNoCC
, gcc13Stdenv
, fetchFromGitHub
, fetchpatch
, substituteAll
, makeWrapper
, makeDesktopItem
Expand Down Expand Up @@ -75,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
dontBuild = true;
dontFixup = true;
outputHashMode = "recursive";
outputHash = "sha256-v6ibAcfYgr1VjGK7NUF4DKd5da03mZndPUAnSl++RqE=";
outputHash = "sha256-hW7GXaYzdUe23pf46HAtFpd742yL8Guwno0M3CIGpQQ=";
};

nativeBuildInputs = [
Expand All @@ -88,6 +89,11 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
(substituteAll { inherit vencord; src = ./use_system_vencord.patch; })
./disable_update_checking.patch
(fetchpatch {
name = "use-tsx-4.6.1.patch";
url = "https://github.com/pluiedev/Vesktop/commit/5651f2674e90e21dc557733dcfcce9c9d316a10f.patch";
hash = "sha256-Qs87MuRrc8Sx3Gctfb90QJW3JyGqW6wI0aqtyzsP1aQ=";
})
];

ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
Expand Down

0 comments on commit 56660ef

Please sign in to comment.