about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2023-12-07 09:07:44 +0100
committerGitHub <noreply@github.com>2023-12-07 09:07:44 +0100
commitea6c4c1d97ac481299289337e03d11b5a0b25adf (patch)
tree9ed22c86e3f82d16477cba368924d49d021ca0cc /pkgs/applications/audio
parent4442ad0d6483a8a3dedb34f2888acd06d918db1e (diff)
parente286d7e6e365c052e141f8441b883f0faeb2d7fe (diff)
Merge pull request #271975 from a-n-n-a-l-e-e/radiotray-ng
radiotray-ng: add libsoup_3 and glib-networking; fix runtime
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/radiotray-ng/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/audio/radiotray-ng/default.nix b/pkgs/applications/audio/radiotray-ng/default.nix
index 3196d492fb500..63e2bd7f2dccd 100644
--- a/pkgs/applications/audio/radiotray-ng/default.nix
+++ b/pkgs/applications/audio/radiotray-ng/default.nix
@@ -17,7 +17,9 @@
 , libxdg_basedir
 , wxGTK
 # GStreamer
+, glib-networking
 , gst_all_1
+, libsoup_3
 # User-agent info
 , lsb-release
 # rt2rtng
@@ -58,6 +60,8 @@ stdenv.mkDerivation rec {
     libxdg_basedir
     lsb-release
     wxGTK
+    # for https gstreamer / libsoup
+    glib-networking
   ] ++ gstInputs
     ++ pythonInputs;
 
@@ -89,6 +93,8 @@ stdenv.mkDerivation rec {
   preFixup = ''
     gappsWrapperArgs+=(--suffix PATH : ${lib.makeBinPath [ dbus ]})
     wrapProgram $out/bin/rt2rtng --prefix PYTHONPATH : $PYTHONPATH
+    # for GStreamer
+    gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${lib.getLib libsoup_3}/lib")
   '';
 
   meta = with lib; {