about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/audio/yabridge/hardcode-wine.patch
blob: d58aedeb27ffc66b7de0f56353b83733c9928494 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
index 7fb7d1b3..eb227101 100644
--- a/src/plugin/utils.cpp
+++ b/src/plugin/utils.cpp
@@ -105,5 +105,5 @@ std::string PluginInfo::wine_version() const {
         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;