camlp4: fix build with spacetime
commit3ede6200428d534b5ec46a9a979e4dfdaa1fadd7
authorSymphorien Gibol <symphorien+git@xlumurb.eu>
dateFri 17 Jul 2020, 16:01 (6 years ago)
parentbddabe5
pkgs/development/tools/ocaml/camlp4/default.nix+5
@@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
4343 dontAddPrefix = true;
4444
4545 preConfigure = ''
46+ # increase stack space for spacetime variant of the compiler
47+ # https://github.com/ocaml/ocaml/issues/7435
48+ # but disallowed by darwin sandbox
49+ ulimit -s unlimited || true
50+
4651 configureFlagsArray=(
4752 --bindir=$out/bin
4853 --libdir=$out/lib/ocaml/${ocaml.version}/site-lib