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:
parent
71b5707077
commit
f671e772d3
1 changed files with 5 additions and 12 deletions
|
|
@ -23,11 +23,6 @@ let
|
|||
qt6Packages.qt6gtk2
|
||||
];
|
||||
kde = [
|
||||
libsForQt5.kio
|
||||
libsForQt5.plasma-integration
|
||||
libsForQt5.systemsettings
|
||||
];
|
||||
kde6 = [
|
||||
kdePackages.kio
|
||||
kdePackages.plasma-integration
|
||||
kdePackages.systemsettings
|
||||
|
|
@ -46,7 +41,6 @@ let
|
|||
styleNames = {
|
||||
gtk = "gtk2";
|
||||
qtct = "qt5ct";
|
||||
kde6 = "kde";
|
||||
};
|
||||
|
||||
# Maps known lowercase style names to style packages. Non-exhaustive.
|
||||
|
|
@ -79,7 +73,10 @@ let
|
|||
adwaita-qt6
|
||||
];
|
||||
|
||||
breeze = libsForQt5.breeze-qt5;
|
||||
breeze = [
|
||||
kdePackages.breeze
|
||||
kdePackages.breeze.qt5
|
||||
];
|
||||
|
||||
kvantum = [
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
|
|
@ -191,10 +188,7 @@ in
|
|||
applications
|
||||
|
||||
`kde`
|
||||
: Use Qt settings from Plasma 5
|
||||
|
||||
`kde6`
|
||||
: Use Qt settings from Plasma 6
|
||||
: Use Qt settings from Plasma
|
||||
'';
|
||||
};
|
||||
package = lib.mkOption {
|
||||
|
|
@ -221,7 +215,6 @@ in
|
|||
"lxqt"
|
||||
"qtct"
|
||||
"kde"
|
||||
"kde6"
|
||||
]) (lib.types.submodule { options = newOption; })
|
||||
);
|
||||
default = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue