kde5.apps: use multiple outputs
This commit is contained in:
parent
7049bde4d5
commit
4f7297f1e3
4 changed files with 18 additions and 0 deletions
|
@ -11,6 +11,8 @@ stdenv.mkDerivation (args // {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
|
outputs = args.outputs or [ "dev" "out" ];
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
(args.cmakeFlags or [])
|
(args.cmakeFlags or [])
|
||||||
++ [ "-DBUILD_TESTING=OFF" ]
|
++ [ "-DBUILD_TESTING=OFF" ]
|
||||||
|
|
|
@ -6,6 +6,8 @@ kdeApp (args // {
|
||||||
sname = "kde-l10n-${name}";
|
sname = "kde-l10n-${name}";
|
||||||
name = "kde-l10n-${name}-qt4";
|
name = "kde-l10n-${name}-qt4";
|
||||||
|
|
||||||
|
outputs = [ "out" ];
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ automoc4 cmake gettext perl ]
|
[ automoc4 cmake gettext perl ]
|
||||||
++ (args.nativeBuildInputs or []);
|
++ (args.nativeBuildInputs or []);
|
||||||
|
@ -17,4 +19,9 @@ kdeApp (args // {
|
||||||
sed -e 's/add_subdirectory(5)//' -i CMakeLists.txt
|
sed -e 's/add_subdirectory(5)//' -i CMakeLists.txt
|
||||||
${args.preConfigure or ""}
|
${args.preConfigure or ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
propagatedBuildInputs=
|
||||||
|
propagatedNativeBuildInputs=
|
||||||
|
'';
|
||||||
})
|
})
|
||||||
|
|
|
@ -6,6 +6,8 @@ kdeApp (args // {
|
||||||
sname = "kde-l10n-${name}";
|
sname = "kde-l10n-${name}";
|
||||||
name = "kde-l10n-${name}-qt5";
|
name = "kde-l10n-${name}-qt5";
|
||||||
|
|
||||||
|
outputs = [ "out" ];
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ cmake extra-cmake-modules gettext kdoctools ]
|
[ cmake extra-cmake-modules gettext kdoctools ]
|
||||||
++ (args.nativeBuildInputs or []);
|
++ (args.nativeBuildInputs or []);
|
||||||
|
@ -14,4 +16,9 @@ kdeApp (args // {
|
||||||
sed -e 's/add_subdirectory(4)//' -i CMakeLists.txt
|
sed -e 's/add_subdirectory(4)//' -i CMakeLists.txt
|
||||||
${args.preConfigure or ""}
|
${args.preConfigure or ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
propagatedBuildInputs=
|
||||||
|
propagatedNativeBuildInputs=
|
||||||
|
'';
|
||||||
})
|
})
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
kdeApp {
|
kdeApp {
|
||||||
name = "kdelibs";
|
name = "kdelibs";
|
||||||
|
|
||||||
|
outputs = [ "out" ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
attica attr avahi giflib libdbusmenu_qt libjpeg libxml2
|
attica attr avahi giflib libdbusmenu_qt libjpeg libxml2
|
||||||
polkit_qt4 qca2 shared_desktop_ontologies udev xz pcre
|
polkit_qt4 qca2 shared_desktop_ontologies udev xz pcre
|
||||||
|
|
Loading…
Reference in a new issue