diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-02-26 16:03:43 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-02-26 17:29:36 +0000 |
commit | 68998dca58900a89eb63ce3931227cfa5a0eccf0 (patch) | |
tree | e6f9e1eccac2233297a2e8c29e6845a43e2ba319 /pkgs/top-level/ocaml-packages.nix | |
parent | ceabe0d3ddc0743da81c7a81697b55f13a597212 (diff) | |
download | nixlib-68998dca58900a89eb63ce3931227cfa5a0eccf0.tar nixlib-68998dca58900a89eb63ce3931227cfa5a0eccf0.tar.gz nixlib-68998dca58900a89eb63ce3931227cfa5a0eccf0.tar.bz2 nixlib-68998dca58900a89eb63ce3931227cfa5a0eccf0.tar.lz nixlib-68998dca58900a89eb63ce3931227cfa5a0eccf0.tar.xz nixlib-68998dca58900a89eb63ce3931227cfa5a0eccf0.tar.zst nixlib-68998dca58900a89eb63ce3931227cfa5a0eccf0.zip |
ocamlPackages.ppx_bin_prot: 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 9b38985c7af9..b27609553262 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -593,7 +593,10 @@ let 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 {}; + ppx_bin_prot = + if lib.versionOlder "4.03" ocaml.version + then callPackage ../development/ocaml-modules/janestreet/ppx_bin_prot-113_33_00.nix {} + else callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {}; ppx_custom_printf = if lib.versionOlder "4.03" ocaml.version |