diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2023-11-10 17:04:50 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2023-11-10 17:04:56 +0100 |
commit | ba1389029e2e9933b514fb1a8123c7c0eeb8ae47 (patch) | |
tree | 4c6272bd10dab9a789d1745b2e2626ffc392f394 | |
parent | f533a7618fb2388db0ca9d62e7786100fde3511f (diff) | |
download | nixpkgs-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.nix | 7 |
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 |