mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
KDE4: correctly propagate user env packages
This commit is contained in:
parent
5c496422e6
commit
e92c942d1d
@ -15,7 +15,7 @@ kde {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
passthru.propagatedUserEnvPackages = [ akonadi kdepimlibs kdepim_runtime ];
|
||||
propagatedUserEnvPkgs = [ akonadi kdepimlibs kdepim_runtime ];
|
||||
|
||||
meta = {
|
||||
description = "KDE PIM tools";
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user