From ff31b14cc51d3f493c62fb3074edc0c57fe8b7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 12 Aug 2015 10:16:12 +0200 Subject: [PATCH] Making openimageio use parallel building. --- pkgs/applications/graphics/openimageio/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/openimageio/default.nix b/pkgs/applications/graphics/openimageio/default.nix index 473db68dc274..a7271f95f0ed 100644 --- a/pkgs/applications/graphics/openimageio/default.nix +++ b/pkgs/applications/graphics/openimageio/default.nix @@ -20,11 +20,13 @@ stdenv.mkDerivation rec { "-DUSE_PYTHON=OFF" ]; - buildPhase = '' - make ILMBASE_HOME=${ilmbase} OPENEXR_HOME=${openexr} USE_PYTHON=0 \ - INSTALLDIR=$out dist_dir= + preBuild = '' + makeFlags="ILMBASE_HOME=${ilmbase} OPENEXR_HOME=${openexr} USE_PYTHON=0 + INSTALLDIR=$out dist_dir=" ''; + enableParallelBuilding = true; + meta = with stdenv.lib; { homepage = http://www.openimageio.org; description = "A library and tools for reading and writing images";