vinegar: add regregrevert patch for wine 9.0 (stable)

This commit is contained in:
ardishco 2024-02-16 15:10:39 +03:00 committed by GitHub
parent a4d4fe8c50
commit f40fcf4517
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,22 +8,16 @@
, xorg
, wayland
, vulkan-headers
, wineWowPackages
, fetchpatch
, wine64Packages
}:
let
# wine-staging doesn't support overrideAttrs for now
wine = wineWowPackages.stagingFull.overrideDerivation (oldAttrs: {
wine = wine64Packages.stable.overrideDerivation (oldAttrs: {
patches =
(oldAttrs.patches or [ ])
++ [
# upstream issue: https://bugs.winehq.org/show_bug.cgi?id=55604
# Here are the currently applied patches for Roblox to run under WINE:
(fetchpatch {
name = "vinegar-wine-segrevert.patch";
url = "https://raw.githubusercontent.com/flathub/org.vinegarhq.Vinegar/8fc153c492542a522d6cc2dff7d1af0e030a529a/patches/wine/temp.patch";
hash = "sha256-AnEBBhB8leKP0xCSr6UsQK7CN0NDbwqhe326tJ9dDjc=";
})
./patches/segregrevert.mypatch
];
});
in