nixpkgs/pkgs/applications/video/obs-studio/fix-nix-plugin-path.patch
Franz Pletz 9bf10ac3c5
obs-studio: 29.0.2 -> 29.1.3
Co-authored-by: matthewcroughan <matt@croughan.sh>
Co-authored-by: materus <materus@podkos.pl>
2023-08-02 12:37:36 +02:00

14 lines
433 B
Diff

diff --git a/libobs/obs-nix.c b/libobs/obs-nix.c
index 36aac7097..801cec788 100644
--- a/libobs/obs-nix.c
+++ b/libobs/obs-nix.c
@@ -56,7 +56,7 @@ const char *get_module_extension(void)
#define FLATPAK_PLUGIN_PATH "/app/plugins"
static const char *module_bin[] = {
- OBS_INSTALL_PREFIX "/" OBS_PLUGIN_DESTINATION,
+ OBS_PLUGIN_DESTINATION,
"../../obs-plugins/" BIT_STRING,
FLATPAK_PLUGIN_PATH "/" OBS_PLUGIN_DESTINATION,
};