yabridge: workaround for wine 9.5

This commit is contained in:
Kira Bruneau 2024-04-01 21:08:13 -04:00
parent c8dd9fb031
commit aa263fc8a0

View File

@ -149,10 +149,11 @@ multiStdenv.mkDerivation (finalAttrs: {
# Hard code wine path in wrapper scripts generated by winegcc # Hard code wine path in wrapper scripts generated by winegcc
postFixup = '' postFixup = ''
for exe in "$out"/bin/*.exe; do substituteInPlace "$out/bin/yabridge-host-32.exe" \
substituteInPlace "$exe" \ --replace 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine"'
--replace 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine"'
done substituteInPlace "$out/bin/yabridge-host.exe" \
--replace 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine64"'
''; '';
passthru.updateScript = nix-update-script { }; passthru.updateScript = nix-update-script { };