reason: fix build with OCaml < 4.07

This commit is contained in:
Vincent Laporte 2022-08-03 11:46:14 +02:00
parent 30ec26b580
commit 80ebd25f66
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,4 +1,5 @@
{ lib, callPackage, stdenv, makeWrapper, fetchurl, ocaml, findlib, dune_2
, ncurses
, fix, menhir, menhirLib, menhirSdk, merlin-extend, ppxlib, utop, cppo, ppx_derivers
}:
@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
ocaml
ppxlib
utop
];
] ++ lib.optional (lib.versionOlder ocaml.version "4.07") ncurses;
propagatedBuildInputs = [
menhirLib