about summary refs log tree commit diff
path: root/pkgs/tools/audio
diff options
context:
space:
mode:
authorStefan Frijters <sfrijters@gmail.com>2023-01-26 00:03:04 +0100
committerStefan Frijters <sfrijters@gmail.com>2023-02-03 23:06:36 +0100
commitfb476bc28baeab4c9da7110e701c982633432415 (patch)
treea7413e8bc7dcf5a364abd0db484f98a695747806 /pkgs/tools/audio
parenta7085b026f7948a57096db1451b6803990e5b82a (diff)
yabridge: work around broken version check for wine
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r--pkgs/tools/audio/yabridge/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/audio/yabridge/default.nix b/pkgs/tools/audio/yabridge/default.nix
index 60af9b430a94b..9de97fe52f486 100644
--- a/pkgs/tools/audio/yabridge/default.nix
+++ b/pkgs/tools/audio/yabridge/default.nix
@@ -3,6 +3,7 @@
 , fetchFromGitHub
 , substituteAll
 , pkgsi686Linux
+, fetchpatch
 , dbus
 , meson
 , ninja
@@ -103,6 +104,14 @@ in multiStdenv.mkDerivation rec {
 
     # Patch the chainloader to search for libyabridge through NIX_PROFILES
     ./libyabridge-from-nix-profiles.patch
+
+    # Remove with next yabridge update
+   (fetchpatch {
+      name = "fix-for-wine-8.0.patch";
+      url = "https://github.com/robbert-vdh/yabridge/commit/29acd40a9add635e2cb40ecc54c88d65604a7a2a.patch";
+      sha256 = "sha256-hVxa/FqH7d938Z/VjHdhmYLCLPZoa9C4xKSKRKiVPSU=";
+      includes = [ "meson.build" ];
+    })
   ];
 
   postPatch = ''