nixpkgs/pkgs/tools/audio/yabridge/hardcode-wine.patch
2021-04-27 15:27:47 -04:00

14 lines
431 B
Diff

diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
index 1ff05bc..0723456 100644
--- a/src/plugin/utils.cpp
+++ b/src/plugin/utils.cpp
@@ -351,7 +351,7 @@ std::string get_wine_version() {
access(wineloader_path.c_str(), X_OK) == 0) {
wine_path = wineloader_path;
} else {
- wine_path = bp::search_path("wine").string();
+ wine_path = "@wine@/bin/wine";
}
bp::ipstream output;