From 0e1d56a397cc47fc2bcfa8a2fcee83b4a6d4f678 Mon Sep 17 00:00:00 2001 From: Ryan Orendorff <12442942+ryanorendorff@users.noreply.github.com> Date: Sun, 29 Jan 2023 20:25:05 -0700 Subject: [PATCH] reaper: add curl and libxml2 ld_library_path deps --- pkgs/applications/audio/reaper/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/reaper/default.nix b/pkgs/applications/audio/reaper/default.nix index 542e47cd16b7..fae1852aa9d6 100644 --- a/pkgs/applications/audio/reaper/default.nix +++ b/pkgs/applications/audio/reaper/default.nix @@ -4,8 +4,10 @@ , makeWrapper , alsa-lib +, curl , gtk3 , lame +, libxml2 , ffmpeg , vlc , xdg-utils @@ -69,8 +71,9 @@ stdenv.mkDerivation rec { # Setting the rpath of the plugin shared object files does not # seem to have an effect for some plugins. # We opt for wrapping the executable with LD_LIBRARY_PATH prefix. + # Note that libcurl and libxml2 are needed for ReaPack to run. wrapProgram $out/opt/REAPER/reaper \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ lame ffmpeg vlc xdotool ]}" + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ curl lame libxml2 ffmpeg vlc xdotool stdenv.cc.cc.lib ]}" mkdir $out/bin ln -s $out/opt/REAPER/reaper $out/bin/