summary refs log tree commit diff
path: root/pkgs/applications/audio/strawberry/default.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-07-22 02:14:32 +0200
committerGitHub <noreply@github.com>2021-07-22 02:14:32 +0200
commit99d4811deee437015cb61f683b66f56feb21e86b (patch)
treeb8569ca6abef160a3efa15c613b5327c5235638e /pkgs/applications/audio/strawberry/default.nix
parent6702627613c33416bebe4cd45bba073e167f30bd (diff)
parente060a9515343e5240e2f6a4ff8354ff2a0096b43 (diff)
downloadnixpkgs-99d4811deee437015cb61f683b66f56feb21e86b.tar
nixpkgs-99d4811deee437015cb61f683b66f56feb21e86b.tar.gz
nixpkgs-99d4811deee437015cb61f683b66f56feb21e86b.tar.bz2
nixpkgs-99d4811deee437015cb61f683b66f56feb21e86b.tar.lz
nixpkgs-99d4811deee437015cb61f683b66f56feb21e86b.tar.xz
nixpkgs-99d4811deee437015cb61f683b66f56feb21e86b.tar.zst
nixpkgs-99d4811deee437015cb61f683b66f56feb21e86b.zip
Merge pull request #130966 from Artturin/straberry
strawberry: add glib-networking to fix  #112334
Diffstat (limited to 'pkgs/applications/audio/strawberry/default.nix')
-rw-r--r--pkgs/applications/audio/strawberry/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/audio/strawberry/default.nix b/pkgs/applications/audio/strawberry/default.nix
index a1cba439c49..8fb3bda683f 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
@@ -85,8 +87,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; {