Unverified Commit 66917f1c authored by Kira Bruneau's avatar Kira Bruneau Committed by GitHub
Browse files

yabridge: revert workaround for wine 9.5 (#394378)

This reverts commit aa263fc8.
parent 0d6d1ce1
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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 { };