kde5: install kde-frameworks version used by plasma

This commit is contained in:
Thomas Tuegel 2015-02-21 11:01:10 -06:00
parent b050babd3e
commit e5de75bf2a

View File

@ -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" ];