nixpkgs/pkgs/tools/audio/yabridge/hardcode-wine.patch

14 lines
446 B
Diff
Raw Normal View History

diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
2021-08-12 01:49:55 +00:00
index 7fb7d1b3..eb227101 100644
--- a/src/plugin/utils.cpp
+++ b/src/plugin/utils.cpp
2021-08-12 01:49:55 +00:00
@@ -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";
}
2021-08-12 01:49:55 +00:00
bp::ipstream output;