about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEvils <evils.devils@protonmail.com>2023-11-14 06:35:40 +0100
committerYt <happysalada@tuta.io>2023-11-16 06:43:23 +0000
commit8a621a254add5b2714a22edc0bf7f7b0ee997a24 (patch)
tree954bd73b8b6fecd5a083cc75680a40a011ac813b
parent59267534acdf0b18434d8fde98cbdca044daddb3 (diff)
audacity: patch wxGTK to work with 3.2.4
-rw-r--r--pkgs/top-level/all-packages.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index ba0a724f56d68..6de74785d1c86 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -30474,6 +30474,16 @@ with pkgs;
 
   audacity = callPackage ../applications/audio/audacity {
     inherit (darwin.apple_sdk.frameworks) AppKit CoreAudioKit;
+    wxGTK32 = wxGTK32.overrideAttrs {
+      patches = [
+       (fetchpatch { # required to run audacity 3.3.3 on wxGTK 3.2.4, see PR #266945
+         url = "https://github.com/wxWidgets/wxWidgets/commit/425d9455e8307c1267a79d47d77e3dafeb4d86de.patch";
+         excludes = [ "docs/changes.txt" ];
+         revert = true;
+         hash = "sha256-6LOYLDLtVCHxNdHAWv3zhlCsljIpi//RJb9XVLGD5hM=";
+       })
+     ];
+    };
   };
 
   audio-recorder = callPackage ../applications/audio/audio-recorder { };