From 66917f1c8da3d34dc10e8c33e07da5cc47ae331d Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Mon, 31 Mar 2025 04:26:31 -0400 Subject: [PATCH] yabridge: revert workaround for wine 9.5 (#394378) This reverts commit aa263fc8a00458a08837f7c8753f9c485becaf85. --- pkgs/tools/audio/yabridge/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/audio/yabridge/default.nix b/pkgs/tools/audio/yabridge/default.nix index ef97b99163f3..78bf12e51018 100644 --- a/pkgs/tools/audio/yabridge/default.nix +++ b/pkgs/tools/audio/yabridge/default.nix @@ -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 { };