3
0
Fork 0
forked from mirrors/nixpkgs

openimageio: Use separate outputs

This commit is contained in:
Eelco Dolstra 2016-09-01 18:35:53 +02:00
parent 452afd1ed6
commit 41ec7095a7

View file

@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0cr0z81a41bg193dx9crcq1mns7mmzz7qys4lrbm18cmdbwkk88x";
};
outputs = [ "bin" "out" "dev" "doc" ];
buildInputs = [
boost cmake ilmbase libjpeg libpng libtiff opencolorio openexr
unzip
@ -25,6 +27,11 @@ stdenv.mkDerivation rec {
INSTALLDIR=$out dist_dir="
'';
postInstall = ''
mkdir -p $bin
mv $out/bin $bin/
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {