hdr-plus: fix build on darwin

This commit is contained in:
Sebastián Mancilla 2021-11-21 13:44:46 -03:00
parent 53edfe1d1c
commit bb898727ec

View File

@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
})
];
postPatch = ''
sed -i '2a #include <array>' src/InputSource.h
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ halide libpng libjpeg libtiff libraw ];