Commit aa263fc8 authored by Kira Bruneau's avatar Kira Bruneau
Browse files

yabridge: workaround for wine 9.5

parent c8dd9fb0
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -149,10 +149,11 @@ multiStdenv.mkDerivation (finalAttrs: {

  # Hard code wine path in wrapper scripts generated by winegcc
  postFixup = ''
    for exe in "$out"/bin/*.exe; do
      substituteInPlace "$exe" \
    substituteInPlace "$out/bin/yabridge-host-32.exe" \
      --replace 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine"'
    done

    substituteInPlace "$out/bin/yabridge-host.exe" \
      --replace 'WINELOADER="wine"' 'WINELOADER="${wine}/bin/wine64"'
  '';

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