yabridge: Fix compatibility with wine 6.8+

This commit is contained in:
Stefan Frijters 2021-05-27 20:04:31 +02:00
parent d37dd6c301
commit e814269bd2
No known key found for this signature in database
GPG Key ID: 7619A6BC6E7DFA6F

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, substituteAll
, meson
, ninja
@ -79,6 +80,13 @@ in stdenv.mkDerivation rec {
)'';
patches = [
# Fix for wine 6.8+ (remove patch in next release):
(fetchpatch {
url = "https://github.com/robbert-vdh/yabridge/commit/5577c4bfd842c60a8ae8ce2889bbfeb53a51c62b.patch";
sha256 = "sha256-bTT08iWwDBVqi2PZPa7oal7/MqVu8t2Bh1gpjFMqLvQ=";
excludes = [ "CHANGELOG.md" ];
})
# Hard code wine path so wine version is correct in logs
(substituteAll {
src = ./hardcode-wine.patch;