diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-02-26 11:55:52 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-02-26 17:29:35 +0000 |
commit | 654dd0aa9614e352d438c4d27d586b4be8ab71d8 (patch) | |
tree | ee969555acb46f7444f8f57cd3bf1d1555ea30be /pkgs/top-level/ocaml-packages.nix | |
parent | b4abe046d7cb33a58a5b85d1ad5d09de496f6f00 (diff) |
ocamlPackages.ppx_bench: init at 113.33.00+4.03
Diffstat (limited to 'pkgs/top-level/ocaml-packages.nix')
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index e5d5b77d2993..9630973aec95 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -588,7 +588,10 @@ let then callPackage ../development/ocaml-modules/janestreet/ppx_inline_test-113_33_00.nix {} else callPackage ../development/ocaml-modules/janestreet/ppx-inline-test.nix {}; - ppx_bench = callPackage ../development/ocaml-modules/janestreet/ppx-bench.nix {}; + ppx_bench = + if lib.versionOlder "4.03" ocaml.version + then callPackage ../development/ocaml-modules/janestreet/ppx_bench-113_33_00.nix {} + else callPackage ../development/ocaml-modules/janestreet/ppx-bench.nix {}; ppx_bin_prot = callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {}; |