We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6d1ce commit 66917f1Copy full SHA for 66917f1
pkgs/tools/audio/yabridge/default.nix
@@ -152,11 +152,10 @@ multiStdenv.mkDerivation (finalAttrs: {
152
153
# Hard code wine path in wrapper scripts generated by winegcc
154
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"'
+ for exe in "$out"/bin/*.exe; do
+ substituteInPlace "$exe" \
+ --replace-fail 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine"'
+ done
160
'';
161
162
passthru.updateScript = nix-update-script { };
0 commit comments