diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-02-25 14:03:43 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-02-27 11:49:16 -0600 |
commit | d446303d0bab3675d1d30fc9a75f17904780c360 (patch) | |
tree | 88f37244e81b1ccbc89c7330cd113e6339ce6362 /pkgs/build-support | |
parent | a33ab04d1b7ab4e8df867e8e05cb5b55222d5fe5 (diff) |
Move kdeDerivation out of kdeFrameworks
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/kde/derivation.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/build-support/kde/derivation.nix b/pkgs/build-support/kde/derivation.nix new file mode 100644 index 000000000000..2e29a0a661e1 --- /dev/null +++ b/pkgs/build-support/kde/derivation.nix @@ -0,0 +1,17 @@ +{ stdenv, lib, debug ? false }: + +args: + +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"; + +}) |