Skip to content

Commit 66917f1

Browse files
authored
yabridge: revert workaround for wine 9.5 (NixOS#394378)
This reverts commit aa263fc.
1 parent 0d6d1ce commit 66917f1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pkgs/tools/audio/yabridge/default.nix

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,10 @@ multiStdenv.mkDerivation (finalAttrs: {
152152

153153
# Hard code wine path in wrapper scripts generated by winegcc
154154
postFixup = ''
155-
substituteInPlace "$out/bin/yabridge-host-32.exe" \
156-
--replace 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine"'
157-
158-
substituteInPlace "$out/bin/yabridge-host.exe" \
159-
--replace 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine64"'
155+
for exe in "$out"/bin/*.exe; do
156+
substituteInPlace "$exe" \
157+
--replace-fail 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine"'
158+
done
160159
'';
161160

162161
passthru.updateScript = nix-update-script { };

0 commit comments

Comments
 (0)