KDE4: correctly propagate user env packages

This commit is contained in:
Evgeny Egorochkin 2015-01-18 08:08:00 +02:00
parent 5c496422e6
commit e92c942d1d
2 changed files with 4 additions and 10 deletions

View File

@ -15,7 +15,7 @@ kde {
nativeBuildInputs = [ pkgconfig ];
passthru.propagatedUserEnvPackages = [ akonadi kdepimlibs kdepim_runtime ];
propagatedUserEnvPkgs = [ akonadi kdepimlibs kdepim_runtime ];
meta = {
description = "KDE PIM tools";

View File

@ -9,16 +9,10 @@ kde rec {
pythonPath = [ cups pyqt4 pykde4 pycups s_c_p ];
passthru.propagatedUserEnvPackages = [ s_c_p ];
# system-config-printer supplies some D-Bus policy that we need.
propagatedUserEnvPkgs = [ s_c_p ];
postInstall =
''
wrapPythonPrograms
# "system-config-printer" supplies some D-Bus policy that we need.
mkdir -p $out/nix-support
echo ${s_c_p} > $out/nix-support/propagated-user-env-packages
'';
postInstall = "wrapPythonPrograms";
meta = {
description = "KDE printer manager";