diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-10-11 06:02:16 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-10-18 05:59:29 +0000 |
commit | 33f003e93008a4e44712aa099acc52f005bbcc0a (patch) | |
tree | 7b2f7776e23266ee7da3e1bbce120257cd9aa6d1 /pkgs/development/ocaml-modules | |
parent | 5617886b16ccf0b5e9bf6c7f93d79162cc14fad3 (diff) | |
download | nixlib-33f003e93008a4e44712aa099acc52f005bbcc0a.tar nixlib-33f003e93008a4e44712aa099acc52f005bbcc0a.tar.gz nixlib-33f003e93008a4e44712aa099acc52f005bbcc0a.tar.bz2 nixlib-33f003e93008a4e44712aa099acc52f005bbcc0a.tar.lz nixlib-33f003e93008a4e44712aa099acc52f005bbcc0a.tar.xz nixlib-33f003e93008a4e44712aa099acc52f005bbcc0a.tar.zst nixlib-33f003e93008a4e44712aa099acc52f005bbcc0a.zip |
ocamlPackages.faraday: disable tests with OCaml 4.07
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/faraday/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/faraday/default.nix b/pkgs/development/ocaml-modules/faraday/default.nix index d739b33c8fab..0c3eb5459cb2 100644 --- a/pkgs/development/ocaml-modules/faraday/default.nix +++ b/pkgs/development/ocaml-modules/faraday/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }: +{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }: buildDunePackage rec { pname = "faraday"; @@ -13,9 +13,9 @@ buildDunePackage rec { sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2"; }; - buildInputs = [ alcotest ]; + checkInputs = lib.optional doCheck alcotest; propagatedBuildInputs = [ bigstringaf ]; - doCheck = true; + doCheck = lib.versions.majorMinor ocaml.version != "4.07"; meta = { description = "Serialization library built for speed and memory efficiency"; |