aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/ocaml/camlp4/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/ocaml/camlp4/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/ocaml/camlp4/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/ocaml/camlp4/default.nix b/nixpkgs/pkgs/development/tools/ocaml/camlp4/default.nix
index ea1b3965098..73228655cca 100644
--- a/nixpkgs/pkgs/development/tools/ocaml/camlp4/default.nix
+++ b/nixpkgs/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