"fix" gnome-control-center to run on sway again
This commit is contained in:
parent
6501f4c0d7
commit
d024637edf
|
@ -55,6 +55,12 @@ let
|
||||||
# mozilla keeps nerfing itself and removing configuration options
|
# mozilla keeps nerfing itself and removing configuration options
|
||||||
firefox-unwrapped = callPackage ./patched/firefox-unwrapped { inherit (unpatched) firefox-unwrapped; };
|
firefox-unwrapped = callPackage ./patched/firefox-unwrapped { inherit (unpatched) firefox-unwrapped; };
|
||||||
|
|
||||||
|
gnome = unpatched.gnome.overrideScope' (gself: gsuper: {
|
||||||
|
gnome-control-center = gself.callPackage ./patched/gnome-control-center {
|
||||||
|
inherit (gsuper) gnome-control-center;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
gocryptfs = callPackage ./patched/gocryptfs { inherit (unpatched) gocryptfs; };
|
gocryptfs = callPackage ./patched/gocryptfs { inherit (unpatched) gocryptfs; };
|
||||||
|
|
||||||
# jackett doesn't allow customization of the bind address: this will probably always be here.
|
# jackett doesn't allow customization of the bind address: this will probably always be here.
|
||||||
|
|
15
pkgs/patched/gnome-control-center/default.nix
Normal file
15
pkgs/patched/gnome-control-center/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ 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;
|
||||||
|
}))
|
Loading…
Reference in New Issue
Block a user