From 4168706d4fd35dc9c83d22725bede9b97b87750b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 8 Oct 2016 08:44:25 +0200 Subject: OCaml modules: make explicit some dependencies to ocamlbuild --- pkgs/development/ocaml-modules/ansiterminal/default.nix | 4 ++-- pkgs/development/ocaml-modules/base64/default.nix | 4 ++-- pkgs/development/ocaml-modules/batteries/default.nix | 4 ++-- pkgs/development/ocaml-modules/bolt/default.nix | 4 ++-- pkgs/development/ocaml-modules/cil/default.nix | 4 ++-- pkgs/development/ocaml-modules/cmdliner/default.nix | 4 ++-- pkgs/development/ocaml-modules/containers/default.nix | 4 ++-- pkgs/development/ocaml-modules/cryptokit/default.nix | 4 ++-- pkgs/development/ocaml-modules/csv/default.nix | 4 ++-- pkgs/development/ocaml-modules/dolog/default.nix | 4 ++-- pkgs/development/ocaml-modules/enumerate/default.nix | 4 ++-- pkgs/development/ocaml-modules/erm_xml/default.nix | 4 ++-- pkgs/development/ocaml-modules/erm_xmpp/default.nix | 4 ++-- pkgs/development/ocaml-modules/fileutils/default.nix | 4 ++-- pkgs/development/ocaml-modules/fix/default.nix | 4 ++-- pkgs/development/ocaml-modules/gen/default.nix | 4 ++-- pkgs/development/ocaml-modules/gg/default.nix | 4 ++-- pkgs/development/ocaml-modules/iso8601/default.nix | 4 ++-- pkgs/development/ocaml-modules/jsonm/default.nix | 4 ++-- pkgs/development/ocaml-modules/macaque/default.nix | 4 ++-- pkgs/development/ocaml-modules/magic-mime/default.nix | 4 ++-- pkgs/development/ocaml-modules/menhir/default.nix | 2 +- pkgs/development/ocaml-modules/menhir/generic.nix | 4 ++-- pkgs/development/ocaml-modules/ocaml-cairo2/default.nix | 4 ++-- pkgs/development/ocaml-modules/ocaml-text/default.nix | 4 ++-- pkgs/development/ocaml-modules/ocplib-endian/default.nix | 4 ++-- pkgs/development/ocaml-modules/odn/default.nix | 4 ++-- pkgs/development/ocaml-modules/optcomp/default.nix | 4 ++-- pkgs/development/ocaml-modules/otfm/default.nix | 4 ++-- pkgs/development/ocaml-modules/ounit/default.nix | 4 ++-- pkgs/development/ocaml-modules/pgocaml/default.nix | 4 ++-- pkgs/development/ocaml-modules/pprint/default.nix | 4 ++-- pkgs/development/ocaml-modules/qcheck/default.nix | 4 ++-- pkgs/development/ocaml-modules/qtest/default.nix | 4 ++-- pkgs/development/ocaml-modules/re/default.nix | 4 ++-- pkgs/development/ocaml-modules/react/default.nix | 4 ++-- pkgs/development/ocaml-modules/reactivedata/default.nix | 4 ++-- pkgs/development/ocaml-modules/safepass/default.nix | 4 ++-- pkgs/development/ocaml-modules/sequence/default.nix | 4 ++-- pkgs/development/ocaml-modules/sqlite3/default.nix | 4 ++-- pkgs/development/ocaml-modules/sqlite3EZ/default.nix | 4 ++-- pkgs/development/ocaml-modules/stringext/default.nix | 4 ++-- pkgs/development/ocaml-modules/topkg/default.nix | 4 ++-- pkgs/development/ocaml-modules/tsdl/default.nix | 4 ++-- pkgs/development/ocaml-modules/ulex/default.nix | 4 ++-- pkgs/development/ocaml-modules/uucd/default.nix | 4 ++-- pkgs/development/ocaml-modules/uucp/default.nix | 4 ++-- pkgs/development/ocaml-modules/uuidm/default.nix | 4 ++-- pkgs/development/ocaml-modules/uunf/default.nix | 4 ++-- pkgs/development/ocaml-modules/uuseg/default.nix | 4 ++-- pkgs/development/ocaml-modules/uutf/default.nix | 4 ++-- pkgs/development/ocaml-modules/xmlm/default.nix | 4 ++-- pkgs/development/ocaml-modules/zed/default.nix | 4 ++-- 53 files changed, 105 insertions(+), 105 deletions(-) (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/ansiterminal/default.nix b/pkgs/development/ocaml-modules/ansiterminal/default.nix index 615e1d1b6739..7edd0ddda5eb 100644 --- a/pkgs/development/ocaml-modules/ansiterminal/default.nix +++ b/pkgs/development/ocaml-modules/ansiterminal/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ocaml, findlib }: +{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }: stdenv.mkDerivation { @@ -9,7 +9,7 @@ stdenv.mkDerivation { sha256 = "1j9kflv2i16vf9hy031cl6z8hv6791mjbhnd9bw07y1pswdlx1r6"; }; - buildInputs = [ ocaml findlib ]; + buildInputs = [ ocaml findlib ocamlbuild ]; configurePhase = "ocaml setup.ml -configure --prefix $out"; diff --git a/pkgs/development/ocaml-modules/base64/default.nix b/pkgs/development/ocaml-modules/base64/default.nix index aabb9f8a76a1..8128dc1cb6f5 100644 --- a/pkgs/development/ocaml-modules/base64/default.nix +++ b/pkgs/development/ocaml-modules/base64/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchzip, ocaml, findlib }: +{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }: let version = "2.0.0"; in @@ -10,7 +10,7 @@ stdenv.mkDerivation { sha256 = "1nv55gwq5vaxmrcz9ja2s165b1p9fhcxszc1l76043gpa56qm4fs"; }; - buildInputs = [ ocaml findlib ]; + buildInputs = [ ocaml findlib ocamlbuild ]; createFindlibDestdir = true; diff --git a/pkgs/development/ocaml-modules/batteries/default.nix b/pkgs/development/ocaml-modules/batteries/default.nix index 0c01a946e5ad..904a214c34f5 100644 --- a/pkgs/development/ocaml-modules/batteries/default.nix +++ b/pkgs/development/ocaml-modules/batteries/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchzip, ocaml, findlib, qtest }: +{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, qtest }: let version = "2.5.2"; in @@ -10,7 +10,7 @@ stdenv.mkDerivation { sha256 = "01v7sp8vsqlfrmpji5pkrsjl43r3q8hk1a4z4lmyy9y2i0fqwl07"; }; - buildInputs = [ ocaml findlib qtest ]; + buildInputs = [ ocaml findlib ocamlbuild qtest ]; configurePhase = "true"; # Skip configure diff --git a/pkgs/development/ocaml-modules/bolt/default.nix b/pkgs/development/ocaml-modules/bolt/default.nix index cf8b21edb50e..5d1fe8aa0d11 100644 --- a/pkgs/development/ocaml-modules/bolt/default.nix +++ b/pkgs/development/ocaml-modules/bolt/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ocaml, findlib, which, camlp4 }: +{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, which, camlp4 }: let inherit (stdenv.lib) getVersion versionAtLeast; in @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { sha256 = "1c807wrpxra9sbb34lajhimwra28ldxv04m570567lh2b04n38zy"; }; - buildInputs = [ ocaml findlib which camlp4 ]; + buildInputs = [ ocaml findlib ocamlbuild which camlp4 ]; patchPhase = '' patch myocamlbuild.ml <