mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
kde5: install kde-frameworks version used by plasma
This commit is contained in:
parent
b050babd3e
commit
e5de75bf2a
@ -35,7 +35,7 @@ let
|
||||
phononBackendPackages = flip concatMap cfg.phononBackends
|
||||
(name: attrByPath [name] (throw "unknown phonon backend `${name}'") phononBackends);
|
||||
|
||||
kf5 = pkgs.kf5_stable;
|
||||
kf5 = plasma5.kf5;
|
||||
|
||||
plasma5 = pkgs.plasma5_stable;
|
||||
|
||||
@ -87,17 +87,17 @@ in
|
||||
setuid = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with plasma5; with kf5;
|
||||
environment.systemPackages =
|
||||
(builtins.attrValues
|
||||
(removeAttrs plasma5
|
||||
[ "deepOverride" "override" "overrideDerivation"
|
||||
[ "deepOverride" "kf5" "override" "overrideDerivation"
|
||||
"recurseForDerivations" "scope"
|
||||
]))
|
||||
++
|
||||
(builtins.attrValues
|
||||
(removeAttrs kf5
|
||||
[ "deepOverride" "extra-cmake-modules" "mkDerivation" "override"
|
||||
"overrideDerivation" "recurseForDerivations" "scope"
|
||||
[ "deepOverride" "mkDerivation" "override" "overrideDerivation"
|
||||
"recurseForDerivations" "qt5" "scope"
|
||||
]))
|
||||
++
|
||||
[
|
||||
@ -115,7 +115,7 @@ in
|
||||
|
||||
pkgs.orion # GTK theme, nearly identical to Breeze
|
||||
]
|
||||
++ (optional config.networking.networkmanager.enable plasma-nm)
|
||||
++ (optional config.networking.networkmanager.enable plasma5.plasma-nm)
|
||||
++ phononBackendPackages;
|
||||
|
||||
environment.pathsToLink = [ "/share" ];
|
||||
|
Loading…
Reference in New Issue
Block a user