pkgs: remove gnome-control-center (unused)

This commit is contained in:
Colin 2024-03-24 07:38:22 +00:00
parent 47d37b4ce5
commit 7c461cee2f
2 changed files with 0 additions and 21 deletions

View File

@ -123,12 +123,6 @@ let
# mozilla keeps nerfing itself and removing configuration options
firefox-unwrapped = callPackage ./patched/firefox-unwrapped { inherit (unpatched) firefox-unwrapped; };
gnome = unpatched.gnome.overrideScope (gself: gsuper: {
gnome-control-center = import ./patched/gnome-control-center {
inherit (gsuper) gnome-control-center;
};
});
gocryptfs = callPackage ./patched/gocryptfs { inherit (unpatched) gocryptfs; };
helix = callPackage ./patched/helix { inherit (unpatched) helix; };

View File

@ -1,15 +0,0 @@
{ gnome-control-center }:
gnome-control-center.overrideAttrs (upstream: {
# gnome-control-center does not start without XDG_CURRENT_DESKTOP=gnome
# see: <https://github.com/NixOS/nixpkgs/issues/230493>
# see: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/736>
#
# non-gnome DEs (e.g. sway) already set XDG_CURRENT_DESKTOP to something different,
# so changing this system-wide probably isn't a good idea.
preFixup = ''
gappsWrapperArgs+=(
--set XDG_CURRENT_DESKTOP "gnome"
);
'' + upstream.preFixup;
})