1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

qt: Remove Plasma 5 and related Qt5 packages

Modeled after the changes in Nixpkgs from https://github.com/NixOS/nixpkgs/pull/435823, platform `kde6` is removed and platform `kde` now means Plasma 6.

Also fixes evaluation error due to missing attribute `libsForQt5.breeze-qt5` (https://github.com/nix-community/home-manager/issues/7728).
This commit is contained in:
Alex Ionescu 2025-08-31 18:23:37 +02:00 committed by Austin Horstman
parent 71b5707077
commit f671e772d3

View file

@ -23,11 +23,6 @@ let
qt6Packages.qt6gtk2 qt6Packages.qt6gtk2
]; ];
kde = [ kde = [
libsForQt5.kio
libsForQt5.plasma-integration
libsForQt5.systemsettings
];
kde6 = [
kdePackages.kio kdePackages.kio
kdePackages.plasma-integration kdePackages.plasma-integration
kdePackages.systemsettings kdePackages.systemsettings
@ -46,7 +41,6 @@ let
styleNames = { styleNames = {
gtk = "gtk2"; gtk = "gtk2";
qtct = "qt5ct"; qtct = "qt5ct";
kde6 = "kde";
}; };
# Maps known lowercase style names to style packages. Non-exhaustive. # Maps known lowercase style names to style packages. Non-exhaustive.
@ -79,7 +73,10 @@ let
adwaita-qt6 adwaita-qt6
]; ];
breeze = libsForQt5.breeze-qt5; breeze = [
kdePackages.breeze
kdePackages.breeze.qt5
];
kvantum = [ kvantum = [
libsForQt5.qtstyleplugin-kvantum libsForQt5.qtstyleplugin-kvantum
@ -191,10 +188,7 @@ in
applications applications
`kde` `kde`
: Use Qt settings from Plasma 5 : Use Qt settings from Plasma
`kde6`
: Use Qt settings from Plasma 6
''; '';
}; };
package = lib.mkOption { package = lib.mkOption {
@ -221,7 +215,6 @@ in
"lxqt" "lxqt"
"qtct" "qtct"
"kde" "kde"
"kde6"
]) (lib.types.submodule { options = newOption; }) ]) (lib.types.submodule { options = newOption; })
); );
default = null; default = null;