From 3ede6200428d534b5ec46a9a979e4dfdaa1fadd7 Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Fri, 17 Jul 2020 16:01:33 +0200 Subject: [PATCH] camlp4: fix build with spacetime --- pkgs/development/tools/ocaml/camlp4/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/tools/ocaml/camlp4/default.nix b/pkgs/development/tools/ocaml/camlp4/default.nix index ea1b39650980..73228655cca0 100644 --- a/pkgs/development/tools/ocaml/camlp4/default.nix +++ b/pkgs/development/tools/ocaml/camlp4/default.nix @@ -43,6 +43,11 @@ stdenv.mkDerivation rec { dontAddPrefix = true; preConfigure = '' + # increase stack space for spacetime variant of the compiler + # https://github.com/ocaml/ocaml/issues/7435 + # but disallowed by darwin sandbox + ulimit -s unlimited || true + configureFlagsArray=( --bindir=$out/bin --libdir=$out/lib/ocaml/${ocaml.version}/site-lib