diff options
Diffstat (limited to 'pkgs/desktops/kde-5/applications/kde-app.nix')
-rw-r--r-- | pkgs/desktops/kde-5/applications/kde-app.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/desktops/kde-5/applications/kde-app.nix b/pkgs/desktops/kde-5/applications/kde-app.nix index c0a947a65dad7..a167eeb463671 100644 --- a/pkgs/desktops/kde-5/applications/kde-app.nix +++ b/pkgs/desktops/kde-5/applications/kde-app.nix @@ -1,4 +1,4 @@ -{ kdeDerivation, lib, debug, srcs }: +{ kdeDerivation, lib, debug, srcs, cmake, pkgconfig }: args: @@ -11,6 +11,15 @@ kdeDerivation (args // { name = "${name}-${version}"; inherit src; + cmakeFlags = + (args.cmakeFlags or []) + ++ [ "-DBUILD_TESTING=OFF" ] + ++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug"; + + nativeBuildInputs = + (args.nativeBuildInputs or []) + ++ [ cmake pkgconfig ]; + meta = { platforms = lib.platforms.linux; homepage = "http://www.kde.org"; |