kile: some slight improvements/fixes

Use `buildInputs` instead of `propagatedBuildInputs` - should reduce
closure size a bit. Don't wrap executables twice. Move `kdoctools` to
native. Use libsForQt5 - default version (works).

Co-authored-by: Frederik Rietdijk <fridh@fridh.nl>
This commit is contained in:
Doron Behar 2020-10-30 20:39:19 +02:00
parent 77e081bb2b
commit 09fd4270d7
2 changed files with 11 additions and 4 deletions

View file

@ -29,14 +29,17 @@ mkDerivation rec {
sha256 = "BEmSEv/LJPs6aCkUmnyuTGrV15WYXwgIANbfcviMXfA=";
};
nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ];
nativeBuildInputs = [
extra-cmake-modules
wrapGAppsHook
kdoctools
];
propagatedBuildInputs = [
buildInputs = [
kconfig
kcrash
kdbusaddons
kdelibs4support
kdoctools
kguiaddons
kiconthemes
kinit
@ -48,6 +51,10 @@ mkDerivation rec {
poppler
qtscript
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
propagatedUserEnvPkgs = [ konsole ];

View file

@ -21778,7 +21778,7 @@ in
kid3 = libsForQt5.callPackage ../applications/audio/kid3 { };
kile = libsForQt514.callPackage ../applications/editors/kile { };
kile = libsForQt5.callPackage ../applications/editors/kile { };
kino = callPackage ../applications/video/kino {
inherit (gnome2) libglade;