yabridge: revert workaround for wine 9.5 (#394378)

This reverts commit aa263fc8a0.
This commit is contained in:
Kira Bruneau 2025-03-31 04:26:31 -04:00 committed by GitHub
parent 0d6d1ce1e3
commit 66917f1c8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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