forked from mirrors/nixpkgs
openimageio: Use separate outputs
This commit is contained in:
parent
452afd1ed6
commit
41ec7095a7
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue