libjxl: fix for hydra's darwin builder

This commit is contained in:
Robert Scott 2021-09-05 22:13:54 +01:00
parent 9a4bdda26e
commit 36d6673cf8

View file

@ -29,6 +29,13 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
# hydra's darwin machines run into https://github.com/libjxl/libjxl/issues/408
# unless we disable highway's tests
postPatch = lib.optional stdenv.isDarwin ''
substituteInPlace third_party/highway/CMakeLists.txt \
--replace 'if(BUILD_TESTING)' 'if(false)'
'';
nativeBuildInputs = [
asciidoc # for docs
cmake