From 40397be73769b1fe7b4a810eeaadd7f6efac54f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 28 Dec 2014 11:40:01 +0100 Subject: [PATCH] e19: enableParallelBuilding of some larger components Some parts build too long, it seems to me, so I sped them up. --- pkgs/desktops/e19/efl.nix | 2 ++ pkgs/desktops/e19/elementary.nix | 1 + pkgs/desktops/e19/enlightenment.nix | 2 ++ 3 files changed, 5 insertions(+) diff --git a/pkgs/desktops/e19/efl.nix b/pkgs/desktops/e19/efl.nix index 9cc936e7f5ec..d3ded676ea05 100644 --- a/pkgs/desktops/e19/efl.nix +++ b/pkgs/desktops/e19/efl.nix @@ -33,6 +33,8 @@ stdenv.mkDerivation rec { export PKG_CONFIG_PATH="${gst_all_1.gst-plugins-base}/lib/pkgconfig/gstreamer-video-0.10.pc:$PKG_CONFIG_PATH" ''; + enableParallelBuilding = true; + setupHook = ./efl-setup-hook.sh; meta = { diff --git a/pkgs/desktops/e19/elementary.nix b/pkgs/desktops/e19/elementary.nix index 27400513f1b3..5f98e193a76c 100644 --- a/pkgs/desktops/e19/elementary.nix +++ b/pkgs/desktops/e19/elementary.nix @@ -10,6 +10,7 @@ stdenv.mkDerivation rec { preConfigure = '' export NIX_CFLAGS_COMPILE="-I${e19.efl}/include/ethumb-1 $NIX_CFLAGS_COMPILE" ''; + enableParallelBuilding = true; meta = { description = "Widget set/toolkit"; homepage = http://enlightenment.org/; diff --git a/pkgs/desktops/e19/enlightenment.nix b/pkgs/desktops/e19/enlightenment.nix index e00d4a66a459..02646083f349 100644 --- a/pkgs/desktops/e19/enlightenment.nix +++ b/pkgs/desktops/e19/enlightenment.nix @@ -19,6 +19,8 @@ stdenv.mkDerivation rec { --replace "/usr/share/X11/xkb/rules/xorg.lst" "${xkeyboard_config}/share/X11/xkb/rules/base.lst" ''; + enableParallelBuilding = true; + # this is a hack and without this cpufreq module is not working: # when set_freqset_setuid is true and "e19_freqset" is set in setuidPrograms (this is taken care of in e19 NixOS module), # then this postInstall does the folowing: