about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/audio/yabridge/hardcode-wine.patch
blob: 2b6ce1f448fae57c98a816e96ee493bfa4c3bb7f (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 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;