ocaml: fixup build on darwin

https://hydra.nixos.org/build/321382407/nixlog/1/tail
I presume that this is about gcc vs. clang toolchain,
but I haven't tested.
This commit is contained in:
Vladimír Čunát
2026-02-11 20:52:10 +01:00
parent 15a6983bd3
commit 6ec6fb0a7c
@@ -92,6 +92,11 @@ stdenv.mkDerivation (
patches = map fetchpatch' patches;
# https://github.com/ocaml/ocaml/issues/14543
postPatch = if stdenv.cc.isClang then ''
rm testsuite/tests/basic/trigraph.ml
'' else null;
strictDeps = true;
prefixKey = "-prefix ";