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.
This commit is contained in:
Jörg Thalheim 2023-11-10 17:04:50 +01:00
parent f533a7618f
commit ba1389029e

View file

@ -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