Move kdeDerivation out of kdeFrameworks

This commit is contained in:
Thomas Tuegel
2017-02-25 14:03:43 -06:00
parent a33ab04d1b
commit d446303d0b
5 changed files with 31 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ existing packages here and modify it as necessary.
{
stdenv, lib, makeSetupHook, makeWrapper, fetchurl, buildEnv,
callPackage,
kdeDerivation, callPackage,
debug ? false
}:
@@ -37,22 +37,6 @@ let
packages = rec {
kdeDerivation = args:
let
in stdenv.mkDerivation (args // {
outputs = args.outputs or [ "out" "dev" ];
propagatedUserEnvPkgs =
builtins.map lib.getBin (args.propagatedBuildInputs or []);
cmakeFlags =
(args.cmakeFlags or [])
++ [ "-DBUILD_TESTING=OFF" ]
++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug";
});
kdeFramework = args:
let
inherit (args) name;