plasma54: propagate packages to user profile

This commit is contained in:
Thomas Tuegel 2015-10-17 16:52:46 -05:00
parent 2386bd7c61
commit 5df5e1f165
4 changed files with 12 additions and 4 deletions

@ -73,7 +73,6 @@ in
pkgs.qt4 # qtconfig is the only way to set Qt 4 theme
kf5.kinit
kf5.kglobalaccel
plasma5.breeze
plasma5.kde-cli-tools

@ -9,7 +9,7 @@
, libcanberra_kde, libpulseaudio, makeKDEWrapper, utillinux
}:
plasmaPackage {
plasmaPackage rec {
name = "plasma-desktop";
nativeBuildInputs = [
extra-cmake-modules
@ -28,6 +28,9 @@ plasmaPackage {
kglobalaccel ki18n kpeople krunner kwin plasma-framework
plasma-workspace qtdeclarative qtx11extras
];
# All propagatedBuildInputs should be present in the profile because
# wrappers cannot be used here.
propagatedUserEnvPkgs = propagatedBuildInputs;
patches = [
(substituteAll {
src = ./0001-hwclock.patch;

@ -4,7 +4,7 @@
, taglib
}:
plasmaPackage {
plasmaPackage rec {
name = "plasma-mediacenter";
nativeBuildInputs = [
extra-cmake-modules
@ -17,4 +17,7 @@ plasmaPackage {
baloo kactivities kdeclarative kfilemetadata ki18n kio
plasma-framework
];
# All propagatedBuildInputs should be present in the profile because
# wrappers cannot be used here.
propagatedUserEnvPkgs = propagatedBuildInputs;
}

@ -10,7 +10,7 @@
, xprop, xrdb, xset, xsetroot, solid, qtquickcontrols
}:
plasmaPackage {
plasmaPackage rec {
name = "plasma-workspace";
nativeBuildInputs = [
extra-cmake-modules
@ -28,6 +28,9 @@ plasmaPackage {
kidletime krunner ktexteditor kwin libkscreen libksysguard
plasma-framework qtquick1 qtquickcontrols qtx11extras solid
];
# All propagatedBuildInputs should be present in the profile because
# impure wrappers are used below.
propagatedUserEnvPkgs = propagatedBuildInputs;
patches = [ ./0001-startkde-NixOS-patches.patch ];
inherit bash coreutils gnused gnugrep socat;