xdg-desktop-portal-gtk: Remove GNOME dependency
This commit is contained in:
parent
3ad210eefa
commit
5b32734131
|
@ -344,7 +344,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
configPackages = [ config.programs.niri.package ];
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gnome
|
||||
(xdg-desktop-portal-gtk.override { buildPortalsInGnome = false; })
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -369,4 +369,14 @@ in genAttrs [
|
|||
# broken
|
||||
withDocumentation = false;
|
||||
};
|
||||
|
||||
xdg-desktop-portal-gtk = prev.xdg-desktop-portal-gtk.overrideAttrs (prevAttrs: {
|
||||
buildInputs = prevAttrs.buildInputs or [ ]
|
||||
|> removePackages [ "gnome-*" "gsettings-*" ];
|
||||
|
||||
mesonFlags = prevAttrs.mesonFlags or [ ] ++ [
|
||||
(mesonEnable "wallpaper" false)
|
||||
(mesonEnable "settings" false)
|
||||
];
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue