libjxl: fix for hydra's darwin builder
This commit is contained in:
parent
9a4bdda26e
commit
36d6673cf8
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue