From 5fa6b40311ca7bf45d9290c39001fdc8d59f8f31 Mon Sep 17 00:00:00 2001 From: Corey O'Connor Date: Sun, 15 Oct 2023 10:05:42 -0700 Subject: gnome.gnome-control-center: fix crash in Mouse panel The Mouse panel uses GtkPicture to display VP9-encoded webm clips. Without GStreamer, the panel would crash with: ERROR: GstPlay: 'playbin' element not found, please check your setup Fixes: https://github.com/NixOS/nixpkgs/issues/253928 --- pkgs/desktops/gnome/core/gnome-control-center/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome/core/gnome-control-center/default.nix b/pkgs/desktops/gnome/core/gnome-control-center/default.nix index e9fd74c9222..f266c480913 100644 --- a/pkgs/desktops/gnome/core/gnome-control-center/default.nix +++ b/pkgs/desktops/gnome/core/gnome-control-center/default.nix @@ -23,6 +23,7 @@ , gnome , gsettings-desktop-schemas , gsound +, gst_all_1 , gtk4 , ibus , libgnomekbd @@ -134,7 +135,11 @@ stdenv.mkDerivation rec { tracker-miners # for search locations dialog udisks2 upower - ]; + ] ++ (with gst_all_1; [ + # For animations in Mouse panel. + gst-plugins-base + gst-plugins-good + ]); preConfigure = '' # For ITS rules -- cgit 1.4.1