From 378009ff4a9b014c5a8f9381549575161acb55cd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 5 Sep 2011 19:23:06 +0000 Subject: [PATCH] * Turn parallel building support on again (got lost somewhere...). svn path=/nixpkgs/trunk/; revision=29035 --- pkgs/desktops/kde-4.7/kde-package/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/desktops/kde-4.7/kde-package/default.nix b/pkgs/desktops/kde-4.7/kde-package/default.nix index d06f8a8fd8b..f725c2f7bb1 100644 --- a/pkgs/desktops/kde-4.7/kde-package/default.nix +++ b/pkgs/desktops/kde-4.7/kde-package/default.nix @@ -27,10 +27,11 @@ rec { # released as individual tarballs kdeMonoPkg = name: let n_ = name; in a@{meta, name ? n_, ...}: stdenv.mkDerivation ({ - name = "${name}-${release}"; - src = kdesrc name; - meta = defMeta // meta; - } // (removeAttrs a [ "meta" "name" ])); + name = "${name}-${release}"; + src = kdesrc name; + meta = defMeta // meta; + enableParallelBuilding = true; + } // (removeAttrs a [ "meta" "name" ])); # kdeMonoPkg wrapper for modules splitted upstream. Used in TODO kdeSplittedPkg = module: {name, sane ? name}: kdeMonoPkg name; @@ -43,9 +44,13 @@ rec { stdenv.mkDerivation ({ name = "${name}-${release}"; src = kdesrc module; - cmakeFlags = ["-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE" - "-DBUILD_doc=TRUE" "-DBUILD_${subdir}=TRUE"] ++ cmakeFlags; + cmakeFlags = + [ "-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE" + "-DBUILD_doc=TRUE" + "-DBUILD_${subdir}=TRUE" + ] ++ cmakeFlags; meta = defMeta // meta; + enableParallelBuilding = true; } // (removeAttrs a [ "meta" "name" "cmakeFlags" ])); # A KDE monolithic module