OCaml modules: make explicit some dependencies to ocamlbuild

This commit is contained in:
Vincent Laporte
2016-10-09 11:55:19 +02:00
parent 731b616fdb
commit 4168706d4f
61 changed files with 125 additions and 123 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, menhir, yojson, ulex, pprint, fix, functory }:
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, menhir, yojson, ulex, pprint, fix, functory }:
let
check-ocaml-version = with stdenv.lib; versionAtLeast (getVersion ocaml);
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
sha256 = "0yck5r6di0935s3iy2mm9538jkf77ssr789qb06ms7sivd7g3ip6";
};
buildInputs = [ ocaml findlib yojson menhir ulex pprint fix functory ];
buildInputs = [ ocaml findlib ocamlbuild yojson menhir ulex pprint fix functory ];
# Sets warning 3 as non-fatal
prePatch = stdenv.lib.optionalString (check-ocaml-version "4.02") ''