OCaml modules: make explicit some dependencies to ocamlbuild
commit4168706d4fd35dc9c83d22725bede9b97b87750b
authorVincent Laporte <Vincent.Laporte@gmail.com>
dateSat 8 Oct 2016, 08:44 (10 years ago)
parent731b616
pkgs/build-support/ocaml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, writeText, ocaml, findlib, camlp4 }:
1+{ stdenv, writeText, ocaml, findlib, ocamlbuild, camlp4 }:
22
33{ name, version, buildInputs ? [],
44 createFindlibDestdir ? true,
@@ -19,7 +19,7 @@ in
1919stdenv.mkDerivation (args // {
2020 name = "ocaml-${name}-${version}";
2121
22− buildInputs = [ ocaml findlib camlp4 ] ++ buildInputs;
22+ buildInputs = [ ocaml findlib ocamlbuild camlp4 ] ++ buildInputs;
2323
2424 setupHook = if setupHook == null && hasSharedObjects
2525 then writeText "setupHook.sh" ''
pkgs/development/compilers/mezzo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, menhir, yojson, ulex, pprint, fix, functory }:
1+{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, menhir, yojson, ulex, pprint, fix, functory }:
22
33let
44 check-ocaml-version = with stdenv.lib; versionAtLeast (getVersion ocaml);
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 sha256 = "0yck5r6di0935s3iy2mm9538jkf77ssr789qb06ms7sivd7g3ip6";
1818 };
1919
20− buildInputs = [ ocaml findlib yojson menhir ulex pprint fix functory ];
20+ buildInputs = [ ocaml findlib ocamlbuild yojson menhir ulex pprint fix functory ];
2121
2222 # Sets warning 3 as non-fatal
2323 prePatch = stdenv.lib.optionalString (check-ocaml-version "4.02") ''
pkgs/development/interpreters/eff/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, ocaml, findlib, menhir, which }:
1+{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, menhir, which }:
22
33let inherit (stdenv.lib) getVersion versionAtLeast; in
44
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414 sha256 = "0cqqrpvfw0nrk5d28mkzfvc8yzqxcss0k46bkmqhqjkqq886n2mm";
1515 };
1616
17− buildInputs = [ ocaml findlib menhir which ];
17+ buildInputs = [ ocaml findlib ocamlbuild menhir which ];
1818
1919 doCheck = true;
2020 checkTarget = "test";
pkgs/development/ocaml-modules/ansiterminal/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation {
44
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "1j9kflv2i16vf9hy031cl6z8hv6791mjbhnd9bw07y1pswdlx1r6";
1010 };
1111
12− buildInputs = [ ocaml findlib ];
12+ buildInputs = [ ocaml findlib ocamlbuild ];
1313
1414 configurePhase = "ocaml setup.ml -configure --prefix $out";
1515
pkgs/development/ocaml-modules/base64/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
22
33let version = "2.0.0"; in
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "1nv55gwq5vaxmrcz9ja2s165b1p9fhcxszc1l76043gpa56qm4fs";
1111 };
1212
13− buildInputs = [ ocaml findlib ];
13+ buildInputs = [ ocaml findlib ocamlbuild ];
1414
1515 createFindlibDestdir = true;
1616
pkgs/development/ocaml-modules/batteries/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, qtest }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, qtest }:
22
33let version = "2.5.2"; in
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "01v7sp8vsqlfrmpji5pkrsjl43r3q8hk1a4z4lmyy9y2i0fqwl07";
1111 };
1212
13− buildInputs = [ ocaml findlib qtest ];
13+ buildInputs = [ ocaml findlib ocamlbuild qtest ];
1414
1515 configurePhase = "true"; # Skip configure
1616
pkgs/development/ocaml-modules/bolt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, which, camlp4 }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, which, camlp4 }:
22
33let inherit (stdenv.lib) getVersion versionAtLeast; in
44
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 sha256 = "1c807wrpxra9sbb34lajhimwra28ldxv04m570567lh2b04n38zy";
1515 };
1616
17− buildInputs = [ ocaml findlib which camlp4 ];
17+ buildInputs = [ ocaml findlib ocamlbuild which camlp4 ];
1818
1919 patchPhase = ''
2020 patch myocamlbuild.ml <<EOF
pkgs/development/ocaml-modules/cil/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, ocaml, findlib }:
1+{ stdenv, fetchurl, perl, ocaml, findlib, ocamlbuild }:
22stdenv.mkDerivation {
33 name = "ocaml-cil-1.7.3";
44 src = fetchurl {
@@ -6,7 +6,7 @@ stdenv.mkDerivation {
66 sha256 = "05739da0b0msx6kmdavr3y2bwi92jbh3szc35d7d8pdisa8g5dv9";
77 };
88
9− buildInputs = [ perl ocaml findlib ];
9+ buildInputs = [ perl ocaml findlib ocamlbuild ];
1010
1111 createFindlibDestdir = true;
1212
pkgs/development/ocaml-modules/cmdliner/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, opam}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }:
22
33let
44 pname = "cmdliner";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 };
1818
1919 unpackCmd = "tar xjf $src";
20− buildInputs = [ ocaml findlib opam ];
20+ buildInputs = [ ocaml findlib ocamlbuild opam ];
2121
2222 createFindlibDestdir = true;
2323
pkgs/development/ocaml-modules/containers/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, cppo, gen, sequence, qtest, ounit, ocaml_oasis, result
1+{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, cppo, gen, sequence, qtest, ounit, ocaml_oasis, result
22, qcheck }:
33
44let
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
2121 sha256 = "169j8vqg8h70wbldjg610jqikfk23ggw8zypmpzv3piym5p1dfiw";
2222 };
2323
24− buildInputs = [ ocaml findlib cppo gen sequence qtest ounit ocaml_oasis qcheck ];
24+ buildInputs = [ ocaml findlib ocamlbuild cppo gen sequence qtest ounit ocaml_oasis qcheck ];
2525
2626 propagatedBuildInputs = [ result ];
2727
pkgs/development/ocaml-modules/cryptokit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, zlib, ocaml, findlib, ncurses}:
1+{ stdenv, fetchurl, zlib, ocaml, findlib, ocamlbuild, ncurses }:
22
33assert stdenv.lib.versionAtLeast ocaml.version "3.12";
44
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "1k2f2ixm7jcsgrzn9lz1hm9qqgq71lk9lxy3v3cwsd8xdrj3jrnv";
1212 };
1313
14− buildInputs = [zlib ocaml findlib ncurses];
14+ buildInputs = [ zlib ocaml findlib ocamlbuild ncurses ];
1515
1616 buildFlags = "setup.data build";
1717
pkgs/development/ocaml-modules/csv/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation {
44
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "05s8py2qr3889c72g1q07r15pzch3j66xdphxi2sd93h5lvnpi4j";
1010 };
1111
12− buildInputs = [ ocaml findlib ];
12+ buildInputs = [ ocaml findlib ocamlbuild ];
1313
1414 createFindlibDestdir = true;
1515
pkgs/development/ocaml-modules/dolog/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
22
33let version = "3.0"; in
44
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "0gx2s4509vkkkaikl2yp7k5x7bqv45s1y1vsy408d8rakd7yl1zb";
1010 };
1111
12− buildInputs = [ ocaml findlib ];
12+ buildInputs = [ ocaml findlib ocamlbuild ];
1313
1414 createFindlibDestdir = true;
1515
pkgs/development/ocaml-modules/enumerate/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, type_conv, camlp4 }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, camlp4 }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "0b6mx5p01lcpimvak4wx6aj2119707wsfzd83rwgb91bhpgzh156";
1111 };
1212
13− buildInputs = [ ocaml findlib ];
13+ buildInputs = [ ocaml findlib ocamlbuild ];
1414 propagatedBuildInputs = [ type_conv camlp4 ];
1515
1616 createFindlibDestdir = true;
pkgs/development/ocaml-modules/erm_xml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
22
33let version = "0.3"; in
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "19znk5w0qiw3wij4n6w3h5bcr221yy57jf815fr8k9m8kin710g3";
1111 };
1212
13− buildInputs = [ ocaml findlib ];
13+ buildInputs = [ ocaml findlib ocamlbuild ];
1414
1515 createFindlibDestdir = true;
1616
pkgs/development/ocaml-modules/erm_xmpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchzip, ocaml, findlib, erm_xml, cryptokit, camlp4 }:
1+{ stdenv, fetchurl, fetchzip, ocaml, findlib, ocamlbuild, erm_xml, cryptokit, camlp4 }:
22
33let
44 version = "0.2";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
1818
1919 patches = [ disable-tests ];
2020
21− buildInputs = [ ocaml findlib camlp4 ];
21+ buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
2222 propagatedBuildInputs = [ erm_xml cryptokit ];
2323
2424 createFindlibDestdir = true;
pkgs/development/ocaml-modules/fileutils/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, ounit }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }:
22
33stdenv.mkDerivation {
44 name = "ocaml-fileutils-0.5.0";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 sha256 = "0xs96nlrrm335mcsgsxnqzspiqyfn26b0jjxm72br7c7ax534n47";
99 };
1010
11− buildInputs = [ ocaml findlib ounit ];
11+ buildInputs = [ ocaml findlib ocamlbuild ounit ];
1212
1313 configureFlags = "--enable-tests";
1414 doCheck = true;
pkgs/development/ocaml-modules/fix/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
44
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 sha256 = "1phlqcs1nb93x9cf0w0hnq2ck4dmn71zm4mxf60w96vb9yb9qzp0";
1212 };
1313
14− buildInputs = [ ocaml findlib ];
14+ buildInputs = [ ocaml findlib ocamlbuild ];
1515
1616 createFindlibDestdir = true;
1717
pkgs/development/ocaml-modules/gen/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, qtest, ounit }:
1+{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, ounit }:
22
33let version = "0.3"; in
44
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
1212 sha256 = "0xrnkcfa5q86ammf49j5hynw5563x5sa2mk7vqf7g097j1szif72";
1313 };
1414
15− buildInputs = [ ocaml findlib qtest ounit ];
15+ buildInputs = [ ocaml findlib ocamlbuild qtest ounit ];
1616
1717 createFindlibDestdir = true;
1818
pkgs/development/ocaml-modules/gg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, opam }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }:
22
33let
44 inherit (stdenv.lib) getVersion versionAtLeast;
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 sha256 = "0czj41sr8jsivl3z8wyblf9k971j3kx2wc3s0c1nhzcc8allg9i2";
2020 };
2121
22− buildInputs = [ ocaml findlib opam ];
22+ buildInputs = [ ocaml findlib ocamlbuild opam ];
2323
2424 createFindlibDestdir = true;
2525
pkgs/development/ocaml-modules/iso8601/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
22
33let version = "0.2.4"; in
44
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "0ypdd1p04xdjxxx3b61wp7abswfrq3vcvwwaxvywxwqljw0dhydi";
1010 };
1111
12− buildInputs = [ ocaml findlib ];
12+ buildInputs = [ ocaml findlib ocamlbuild ];
1313 createFindlibDestdir = true;
1414
1515 meta = {
pkgs/development/ocaml-modules/jsonm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, uutf }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, uutf }:
22
33let version = "0.9.1"; in
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "0wszqrmx8iqlwzvs76fjf4sqh15mv20yjrbyhkd348yq8nhdrm1z";
1111 };
1212
13− buildInputs = [ ocaml findlib ];
13+ buildInputs = [ ocaml findlib ocamlbuild ];
1414 propagatedBuildInputs = [ uutf ];
1515
1616 unpackCmd = "tar xjf $src";
pkgs/development/ocaml-modules/macaque/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, pgocaml, camlp4 }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
22
33stdenv.mkDerivation {
44 name = "ocaml-macaque-0.7.2";
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
77 sha256 = "14i0a8cndzndjmlkyhf31r451q99cnkndgxcj0id4qjqhdl4bmjv";
88 };
99
10− buildInputs = [ ocaml findlib camlp4 ];
10+ buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
1111 propagatedBuildInputs = [ pgocaml ];
1212
1313 createFindlibDestdir = true;
pkgs/development/ocaml-modules/magic-mime/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
22
33let version = "1.0.0"; in
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "058d83hmxd5mjccxdm3ydchmhk2lca5jdg82jg0klsigmf4ida6v";
1111 };
1212
13− buildInputs = [ ocaml findlib ];
13+ buildInputs = [ ocaml findlib ocamlbuild ];
1414
1515 createFindlibDestdir = true;
1616
pkgs/development/ocaml-modules/menhir/default.nix+1−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild
22, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20160526" else "20140422"
33}@args:
44
pkgs/development/ocaml-modules/menhir/generic.nix+2−2
@@ -1,4 +1,4 @@
1−{ version, sha256, stdenv, fetchurl, ocaml, findlib }:
1+{ version, sha256, stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation {
44 name = "menhir-${version}";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 inherit sha256;
99 };
1010
11− buildInputs = [ ocaml findlib ];
11+ buildInputs = [ ocaml findlib ocamlbuild ];
1212
1313 createFindlibDestdir = true;
1414
pkgs/development/ocaml-modules/ocaml-cairo2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, pkgconfig, cairo, lablgtk, gtk2,
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, pkgconfig, cairo, lablgtk, gtk2,
22 enableGtkSupport ? true # Whether to compile with support for Gtk
33 # integration (library file cairo2_gtk). Depends
44 # on lablgtk and gtk2.
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 sha256 = "1lc1iv5yz49avbc0wbrw9nrx8dn0c35r7cykivjln1zc2fwscf7w";
2020 };
2121
22− buildInputs = [ ocaml findlib pkgconfig cairo ]
22+ buildInputs = [ ocaml findlib ocamlbuild pkgconfig cairo ]
2323 ++ optionals enableGtkSupport [ gtk2 ];
2424
2525 # lablgtk2 is marked as a propagated build input since loading the
pkgs/development/ocaml-modules/ocaml-text/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, libiconv, ocaml, findlib, ncurses }:
1+{ stdenv, fetchzip, libiconv, ocaml, findlib, ocamlbuild, ncurses }:
22
33stdenv.mkDerivation rec {
44 name = "ocaml-text-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "11jamdfn5s19a0yvl012q1xvdk1grkp4rkrn819imqrvdplqkn1y";
1010 };
1111
12− buildInputs = [ocaml findlib ncurses libiconv];
12+ buildInputs = [ ocaml findlib ocamlbuild ncurses libiconv ];
1313
1414 configurePhase = "iconv_prefix=${libiconv} ocaml setup.ml -configure";
1515
pkgs/development/ocaml-modules/ocplib-endian/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, cppo }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, cppo }:
22
33let version = "0.8"; in
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "12xjvzw245mj4s02dgi4k2sx5gam7wxi4mbxmz6k18zg64n48yjd";
1111 };
1212
13− buildInputs = [ ocaml findlib cppo ];
13+ buildInputs = [ ocaml findlib ocamlbuild cppo ];
1414
1515 createFindlibDestdir = true;
1616
pkgs/development/ocaml-modules/odn/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, type_conv, ounit, camlp4}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, ounit, camlp4 }:
22
33stdenv.mkDerivation {
44 name = "ocaml-data-notation-0.0.11";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj";
99 };
1010
11− buildInputs = [ocaml findlib type_conv ounit camlp4];
11+ buildInputs = [ ocaml findlib ocamlbuild type_conv ounit camlp4 ];
1212
1313 createFindlibDestdir = true;
1414
pkgs/development/ocaml-modules/optcomp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, camlp4}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4 }:
22
33stdenv.mkDerivation {
44 name = "ocaml-optcomp-1.6";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99
1010 createFindlibDestdir = true;
1111
12− buildInputs = [ocaml findlib camlp4];
12+ buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
1313
1414
1515 meta = {
pkgs/development/ocaml-modules/otfm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, opam, uutf }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, uutf }:
22
33let
44 inherit (stdenv.lib) getVersion versionAtLeast;
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 sha256 = "1wgi9plf98gd7x3b7fzjxds089sivsap97bl1bw2lj73nxwnyb9c";
2020 };
2121
22− buildInputs = [ ocaml findlib opam ];
22+ buildInputs = [ ocaml findlib ocamlbuild opam ];
2323
2424 propagatedBuildInputs = [ uutf ];
2525
pkgs/development/ocaml-modules/ounit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, camlp4}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4 }:
22
33stdenv.mkDerivation {
44 name = "ounit-2.0.0";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 sha256 = "118xsadrx84pif9vaq13hv4yh22w9kmr0ypvhrs0viir1jr0ajjd";
99 };
1010
11− buildInputs = [ocaml findlib camlp4];
11+ buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
1212
1313 dontAddPrefix = true;
1414
pkgs/development/ocaml-modules/pgocaml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, camlp4, calendar, csv, ocaml_pcre }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4, calendar, csv, ocaml_pcre }:
22
33stdenv.mkDerivation {
44 name = "ocaml-pgocaml-2.2";
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
77 sha256 = "0x0dhlz2rqxpwfdqi384f9fn0ng2irifadmxfm2b4gcz7y1cl9rh";
88 };
99
10− buildInputs = [ ocaml findlib camlp4 ];
10+ buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
1111 propagatedBuildInputs = [ calendar csv ocaml_pcre ];
1212
1313 createFindlibDestdir = true;
pkgs/development/ocaml-modules/pprint/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
44
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 sha256 = "0sc9q89dnyarcg24czyhr6ams0ylqvia3745s6rfwd2nldpygsdk";
1212 };
1313
14− buildInputs = [ ocaml findlib ];
14+ buildInputs = [ ocaml findlib ocamlbuild ];
1515
1616 createFindlibDestdir = true;
1717
pkgs/development/ocaml-modules/qcheck/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, oasis, ounit }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, oasis, ounit }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4";
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "0j2jdrfz8rrslgjihnfgg8yy12860z2vvf7hqzjbmfmf03hz4pgv";
1111 };
1212
13− buildInputs = [ ocaml findlib oasis ounit ];
13+ buildInputs = [ ocaml findlib ocamlbuild oasis ounit ];
1414
1515 configureFlags = "--enable-tests --enable-ounit";
1616
pkgs/development/ocaml-modules/qtest/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, ounit }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, ounit }:
22
33let version = "2.2"; in
44
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "1k68z8kby1f9s5j9xbn9bz8yhk59aalffz8gj5d1y5zhyalifrlz";
1010 };
1111
12− buildInputs = [ ocaml findlib ];
12+ buildInputs = [ ocaml findlib ocamlbuild ];
1313 propagatedBuildInputs = [ ounit ];
1414
1515 createFindlibDestdir = true;
pkgs/development/ocaml-modules/re/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, ounit }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, ounit }:
22
33stdenv.mkDerivation rec {
44 name = "ocaml-re-1.5.0";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "17avk7kwmgdjkri1sj5q4a59ykc9rj0bxj6ixxpl6i0n49br3f92";
99 };
1010
11− buildInputs = [ ocaml findlib ounit ];
11+ buildInputs = [ ocaml findlib ocamlbuild ounit ];
1212
1313 configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
1414 buildPhase = "ocaml setup.ml -build";
pkgs/development/ocaml-modules/react/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, opam}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }:
22
33stdenv.mkDerivation {
44 name = "ocaml-react-1.2.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 };
1010
1111 unpackCmd = "tar xjf $src";
12− buildInputs = [ocaml findlib opam];
12+ buildInputs = [ ocaml findlib ocamlbuild opam ];
1313
1414 createFindlibDestdir = true;
1515
pkgs/development/ocaml-modules/reactivedata/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, ocaml_react, camlp4, opam}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocaml_react, camlp4, opam }:
22
33let
44 ocamlVersion = stdenv.lib.getVersion ocaml;
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313 sha256 = "0rskcxnyjn8sxqnncdm6rh9wm99nha5m5sc83fywgzs64xfl43fq";
1414 };
1515
16− buildInputs = [ocaml findlib opam camlp4 ];
16+ buildInputs = [ ocaml findlib ocamlbuild opam camlp4 ];
1717 propagatedBuildInputs = [ocaml_react];
1818
1919 buildPhase = "ocaml pkg/build.ml native=true native-dynlink=true";
pkgs/development/ocaml-modules/safepass/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation {
44 name = "ocaml-safepass-1.3";
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
77 sha256 = "0lb8xbpyc5d1zml7s7mmcr6y2ipwdp7qz73lkv9asy7dyi6cj15g";
88 };
99
10− buildInputs = [ ocaml findlib ];
10+ buildInputs = [ ocaml findlib ocamlbuild ];
1111
1212 createFindlibDestdir = true;
1313
pkgs/development/ocaml-modules/sequence/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, qtest, ounit }:
1+{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, ounit }:
22
33let version = "0.6"; in
44
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
1212 sha256 = "0mky5qas3br2x4y14dzcky212z624ydqnx8mw8w00x0c1xjpafkb";
1313 };
1414
15− buildInputs = [ ocaml findlib qtest ounit ];
15+ buildInputs = [ ocaml findlib ocamlbuild qtest ounit ];
1616
1717 configureFlags = [
1818 "--enable-tests"
pkgs/development/ocaml-modules/sqlite3/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig }:
1+{ stdenv, fetchurl, sqlite, ocaml, findlib, ocamlbuild, pkgconfig }:
22
33stdenv.mkDerivation rec {
44 name = "ocaml-sqlite3-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "0rwsx1nfa3xqmbygim2qx45jqm1gwf08m70wmcwkx50f1qk3l551";
1010 };
1111
12− buildInputs = [ ocaml findlib pkgconfig sqlite ];
12+ buildInputs = [ ocaml findlib ocamlbuild pkgconfig sqlite ];
1313
1414 createFindlibDestdir = true;
1515
pkgs/development/ocaml-modules/sqlite3EZ/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, twt, ocaml_sqlite3 }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, twt, ocaml_sqlite3 }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 sha256 = "8ed2c5d5914a65cbd95589ef11bfb8b38a020eb850cdd49b8adce7ee3a563748";
1111 };
1212
13− buildInputs = [ ocaml findlib twt ];
13+ buildInputs = [ ocaml findlib ocamlbuild twt ];
1414
1515 propagatedBuildInputs = [ ocaml_sqlite3 ];
1616
pkgs/development/ocaml-modules/stringext/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, ounit, qcheck
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, ounit, qcheck
22# Optionally enable tests; test script use OCaml-4.01+ features
33, doCheck ? stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01"
44}:
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313 sha256 = "1jp0x9rkss8a48z9wbnc4v5zvmnysin30345psl3xnxb2aqzwlii";
1414 };
1515
16− buildInputs = [ ocaml findlib ounit qcheck ];
16+ buildInputs = [ ocaml findlib ocamlbuild ounit qcheck ];
1717
1818 configurePhase = "ocaml setup.ml -configure --prefix $out"
1919 + stdenv.lib.optionalString doCheck " --enable-tests";
pkgs/development/ocaml-modules/topkg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, result, opam }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, result, opam }:
22
33let ocaml-version = stdenv.lib.getVersion ocaml; in
44
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 nativeBuildInputs = [ opam ];
15− buildInputs = [ ocaml findlib ];
15+ buildInputs = [ ocaml findlib ocamlbuild ];
1616 propagatedBuildInputs = [ result ];
1717
1818 unpackCmd = "tar xjf ${src}";
pkgs/development/ocaml-modules/tsdl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, ctypes, result, SDL2, pkgconfig, opam }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ctypes, result, SDL2, pkgconfig, opam }:
22
33let
44 inherit (stdenv.lib) getVersion;
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 sha256 = "02x0wsy5nxagxrh07yb2h4yqqy1bxryp2gwrylds0j6ybqsv4shm";
1818 };
1919
20− buildInputs = [ ocaml findlib result pkgconfig opam ];
20+ buildInputs = [ ocaml findlib ocamlbuild result pkgconfig opam ];
2121 propagatedBuildInputs = [ SDL2 ctypes ];
2222
2323 createFindlibDestdir = true;
pkgs/development/ocaml-modules/ulex/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, camlp4 }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4 }:
22
33let
44 pname = "ulex";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 createFindlibDestdir = true;
1717
18− buildInputs = [ ocaml findlib ];
18+ buildInputs = [ ocaml findlib ocamlbuild ];
1919 propagatedBuildInputs = [ camlp4 ];
2020
2121 buildFlags = "all all.opt";
pkgs/development/ocaml-modules/uucd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, opam, xmlm, topkg }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, xmlm, topkg }:
22
33let
44 pname = "uucd";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 sha256 = "11cjfwa4wjhsyvzq4wl9z44xi28n49drz8nbfpx754vyfzwj3yc6";
1414 };
1515
16− buildInputs = [ ocaml findlib opam topkg ];
16+ buildInputs = [ ocaml findlib ocamlbuild opam topkg ];
1717
1818 createFindlibDestdir = true;
1919
pkgs/development/ocaml-modules/uucp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, opam }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }:
22
33let
44 inherit (stdenv.lib) getVersion versionAtLeast;
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 sha256 = "1vm5f2ppdrnk19j0ppjiqz56qf5bzyk26gs0lz071s7iblk459jz";
2020 };
2121
22− buildInputs = [ ocaml findlib opam ];
22+ buildInputs = [ ocaml findlib ocamlbuild opam ];
2323
2424 createFindlibDestdir = true;
2525
pkgs/development/ocaml-modules/uuidm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation rec {
44 version = "0.9.5";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 unpackCmd = "tar -xf $curSrc";
1212
13− buildInputs = [ocaml findlib];
13+ buildInputs = [ ocaml findlib ocamlbuild ];
1414
1515 configurePhase = "ocaml setup.ml -configure --prefix $prefix";
1616 buildPhase = "ocaml setup.ml -build";
pkgs/development/ocaml-modules/uunf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, opam}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }:
22let
33 pname = "uunf";
44 webpage = "http://erratique.ch/software/${pname}";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 sha256 = "16cgjy1m0m61srv1pmlc3gr0y40kd4724clvpagdnz68raz4zmn0";
1616 };
1717
18− buildInputs = [ ocaml findlib opam ];
18+ buildInputs = [ ocaml findlib ocamlbuild opam ];
1919
2020 createFindlibDestdir = true;
2121
pkgs/development/ocaml-modules/uuseg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, opam, uucp, uutf, cmdliner }:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, uucp, uutf, cmdliner }:
22
33let
44 inherit (stdenv.lib) getVersion versionAtLeast;
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 sha256 = "00n4zi8dyw2yzi4nr2agcrr33b0q4dr9mgnkczipf4c0gm5cm50h";
2020 };
2121
22− buildInputs = [ ocaml findlib opam cmdliner ];
22+ buildInputs = [ ocaml findlib ocamlbuild opam cmdliner ];
2323 propagatedBuildInputs = [ uucp uutf ];
2424
2525 createFindlibDestdir = true;
pkgs/development/ocaml-modules/uutf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, opam}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }:
22let
33 pname = "uutf";
44 webpage = "http://erratique.ch/software/${pname}";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 sha256 = "0xvq20knmq25902ijpbk91ax92bkymsqkbfklj1537hpn64lydhz";
1616 };
1717
18− buildInputs = [ ocaml findlib opam ];
18+ buildInputs = [ ocaml findlib ocamlbuild opam ];
1919
2020 createFindlibDestdir = true;
2121
pkgs/development/ocaml-modules/xmlm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib, opam}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }:
22let
33 pname = "xmlm";
44 webpage = "http://erratique.ch/software/${pname}";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 sha256 = "1jywcrwn5z3gkgvicr004cxmdaqfmq8wh72f81jqz56iyn5024nh";
1616 };
1717
18− buildInputs = [ ocaml findlib opam ];
18+ buildInputs = [ ocaml findlib ocamlbuild opam ];
1919
2020 createFindlibDestdir = true;
2121
pkgs/development/ocaml-modules/zed/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml, findlib, camomile, ocaml_react }:
1+{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, camomile, ocaml_react }:
22
33stdenv.mkDerivation rec {
44 version = "1.4";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "0d8qfy0qiydrrqi8qc9rcwgjigql6vx9gl4zp62jfz1lmjgb2a3w";
1010 };
1111
12− buildInputs = [ ocaml findlib ocaml_react ];
12+ buildInputs = [ ocaml findlib ocamlbuild ocaml_react ];
1313
1414 propagatedBuildInputs = [ camomile ];
1515
pkgs/development/tools/ocaml/cppo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib }:
1+{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
22let
33 pname = "cppo";
44 version = "1.3.2";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 sha256 = "06j0zr78f04ahxi2459vjn61z25hkvs4dfj76200ydg3g6ifb3k1";
1717 };
1818
19− buildInputs = [ ocaml findlib ];
19+ buildInputs = [ ocaml findlib ocamlbuild ];
2020
2121 createFindlibDestdir = true;
2222
pkgs/development/tools/ocaml/oasis/0.4.6.nix+4−3
@@ -1,5 +1,6 @@
1−{stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4,
2− ocamlmod, ocamlify, ounit, expect}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4
2+, ocaml_data_notation, type_conv, ocamlmod, ocamlify, ounit, expect
3+}:
34
45stdenv.mkDerivation {
56 name = "ocaml-oasis-0.4.6";
@@ -13,7 +14,7 @@ stdenv.mkDerivation {
1314
1415 buildInputs =
1516 [
16− ocaml findlib type_conv ocamlmod ocamlify ounit camlp4
17+ ocaml findlib ocamlbuild type_conv ocamlmod ocamlify ounit camlp4
1718 ];
1819
1920 propagatedBuildInputs = [ ocaml_data_notation ];
pkgs/development/tools/ocaml/oasis/default.nix+4−3
@@ -1,5 +1,6 @@
1−{stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4,
2− ocamlmod, ocamlify, ounit, expect}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4
2+, ocaml_data_notation, type_conv, ocamlmod, ocamlify, ounit, expect
3+}:
34
45stdenv.mkDerivation rec {
56 version = "0.4.7";
@@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
1617
1718 buildInputs =
1819 [
19− ocaml findlib type_conv ocamlmod ocamlify ounit camlp4
20+ ocaml findlib ocamlbuild type_conv ocamlmod ocamlify ounit camlp4
2021 ];
2122
2223 propagatedBuildInputs = [ ocaml_data_notation ];
pkgs/development/tools/ocaml/ocamlify/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation {
44 name = "ocamlify-0.0.2";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 sha256 = "1f0fghvlbfryf5h3j4as7vcqrgfjb4c8abl5y0y5h069vs4kp5ii";
99 };
1010
11− buildInputs = [ocaml findlib];
11+ buildInputs = [ ocaml findlib ocamlbuild ];
1212
1313 configurePhase = "ocaml setup.ml -configure --prefix $out";
1414 buildPhase = "ocaml setup.ml -build";
pkgs/development/tools/ocaml/ocamlmod/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ocaml, findlib}:
1+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation rec {
44 name = "ocamlmod-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "1w0w8lfyymvk300dv13gvhrddpcyknvyp4g2yvq2vaw7khkhjs9g";
1010 };
1111
12− buildInputs = [ocaml findlib];
12+ buildInputs = [ ocaml findlib ocamlbuild ];
1313
1414 configurePhase = "ocaml setup.ml -configure --prefix $out";
1515 buildPhase = "ocaml setup.ml -build";