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
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild
, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20160526" else "20140422"
}@args:
@@ -1,4 +1,4 @@
{ version, sha256, stdenv, fetchurl, ocaml, findlib }:
{ version, sha256, stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
stdenv.mkDerivation {
name = "menhir-${version}";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
inherit sha256;
};
buildInputs = [ ocaml findlib ];
buildInputs = [ ocaml findlib ocamlbuild ];
createFindlibDestdir = true;