summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-11-10 17:04:50 +0100
committerJörg Thalheim <joerg@thalheim.io>2023-11-10 17:04:56 +0100
commitba1389029e2e9933b514fb1a8123c7c0eeb8ae47 (patch)
tree4c6272bd10dab9a789d1745b2e2626ffc392f394
parentf533a7618fb2388db0ca9d62e7786100fde3511f (diff)
downloadnixpkgs-ba1389029e2e9933b514fb1a8123c7c0eeb8ae47.tar
nixpkgs-ba1389029e2e9933b514fb1a8123c7c0eeb8ae47.tar.gz
nixpkgs-ba1389029e2e9933b514fb1a8123c7c0eeb8ae47.tar.bz2
nixpkgs-ba1389029e2e9933b514fb1a8123c7c0eeb8ae47.tar.lz
nixpkgs-ba1389029e2e9933b514fb1a8123c7c0eeb8ae47.tar.xz
nixpkgs-ba1389029e2e9933b514fb1a8123c7c0eeb8ae47.tar.zst
nixpkgs-ba1389029e2e9933b514fb1a8123c7c0eeb8ae47.zip
spice-gtk: fix sound (gstreamer plugins)
propagatedBuildInputs is not the right way to propagate runtime dependencies.
wrapGAppsHook makes sure that we have gstreamer environment set.
-rw-r--r--pkgs/development/libraries/spice-gtk/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/libraries/spice-gtk/default.nix b/pkgs/development/libraries/spice-gtk/default.nix
index 16a68ed67ea..d160a6a5f6d 100644
--- a/pkgs/development/libraries/spice-gtk/default.nix
+++ b/pkgs/development/libraries/spice-gtk/default.nix
@@ -36,6 +36,7 @@
 , wayland-protocols
 , wayland-scanner
 , zlib
+, wrapGAppsHook
 , withPolkit ? stdenv.isLinux
 }:
 
@@ -88,18 +89,16 @@ stdenv.mkDerivation rec {
     python3.pkgs.pyparsing
     python3.pkgs.six
     vala
+    wrapGAppsHook
   ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
     mesonEmulatorHook
   ] ++ lib.optionals stdenv.isLinux [
     wayland-scanner
   ];
 
-  propagatedBuildInputs = [
+  buildInputs = [
     gst_all_1.gst-plugins-base
     gst_all_1.gst-plugins-good
-  ];
-
-  buildInputs = [
     cyrus_sasl
     libepoxy
     gtk3