Merge pull request #93347 from symphorien/spacetime

Ocaml spacetime support
This commit is contained in:
Silvan Mosberger
2020-08-22 16:38:54 +02:00
committed by GitHub
2 changed files with 11 additions and 2 deletions
@@ -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