From 1a9c8739fd57f9a7fa28de5cb29ee7a338ce6d23 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 21 Jul 2021 21:12:41 +0300 Subject: [PATCH] strawberry: add glib-networking (cherry picked from commit e060a9515343e5240e2f6a4ff8354ff2a0096b43) --- pkgs/applications/audio/strawberry/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/strawberry/default.nix b/pkgs/applications/audio/strawberry/default.nix index c8ffba2c2a7..8e052759231 100644 --- a/pkgs/applications/audio/strawberry/default.nix +++ b/pkgs/applications/audio/strawberry/default.nix @@ -28,6 +28,7 @@ , qtx11extras , qttools , withGstreamer ? true +, glib-networking , gst_all_1 ? null , withVlc ? true , libvlc ? null @@ -69,6 +70,7 @@ mkDerivation rec { p11-kit ] ++ lib.optionals withGstreamer (with gst_all_1; [ + glib-networking gstreamer gst-plugins-base gst-plugins-good @@ -82,8 +84,11 @@ mkDerivation rec { util-linux ]; - postInstall = '' - qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0") + postInstall = lib.optionalString withGstreamer '' + qtWrapperArgs+=( + --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" + --prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules" + ) ''; meta = with lib; {