diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2016-10-08 08:44:25 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2016-10-09 11:55:19 +0200 |
commit | 4168706d4fd35dc9c83d22725bede9b97b87750b (patch) | |
tree | ce23665cd16bf9429db01b34037b37be7d795a18 /pkgs/development/ocaml-modules/stringext | |
parent | 731b616fdbb7b3b0d753f5ac05926de33d17c177 (diff) | |
download | nixlib-4168706d4fd35dc9c83d22725bede9b97b87750b.tar nixlib-4168706d4fd35dc9c83d22725bede9b97b87750b.tar.gz nixlib-4168706d4fd35dc9c83d22725bede9b97b87750b.tar.bz2 nixlib-4168706d4fd35dc9c83d22725bede9b97b87750b.tar.lz nixlib-4168706d4fd35dc9c83d22725bede9b97b87750b.tar.xz nixlib-4168706d4fd35dc9c83d22725bede9b97b87750b.tar.zst nixlib-4168706d4fd35dc9c83d22725bede9b97b87750b.zip |
OCaml modules: make explicit some dependencies to ocamlbuild
Diffstat (limited to 'pkgs/development/ocaml-modules/stringext')
-rw-r--r-- | pkgs/development/ocaml-modules/stringext/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/stringext/default.nix b/pkgs/development/ocaml-modules/stringext/default.nix index 05aa2c2da683..9eb9ad514f72 100644 --- a/pkgs/development/ocaml-modules/stringext/default.nix +++ b/pkgs/development/ocaml-modules/stringext/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchzip, ocaml, findlib, ounit, qcheck +{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, ounit, qcheck # Optionally enable tests; test script use OCaml-4.01+ features , doCheck ? stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01" }: @@ -13,7 +13,7 @@ stdenv.mkDerivation { sha256 = "1jp0x9rkss8a48z9wbnc4v5zvmnysin30345psl3xnxb2aqzwlii"; }; - buildInputs = [ ocaml findlib ounit qcheck ]; + buildInputs = [ ocaml findlib ocamlbuild ounit qcheck ]; configurePhase = "ocaml setup.ml -configure --prefix $out" + stdenv.lib.optionalString doCheck " --enable-tests"; |