about summary refs log tree commit diff
path: root/pkgs/top-level/ocaml-packages.nix
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2023-03-20 10:16:35 -0300
committerGitHub <noreply@github.com>2023-03-20 10:16:35 -0300
commit8c9e49ab50689e4e1b9f11867809e16ece4d00ca (patch)
treef79bd89aceba9ce14c962047dcd1e891a43d64f8 /pkgs/top-level/ocaml-packages.nix
parent7dcc6710181ab8a46174fdf4171456c4b24d5ec2 (diff)
parent832ce14a2103077ce137b2b6808636a656d7777c (diff)
Merge pull request #222143 from vbgl/ocaml-csv-cleanup
ocamlPackages.csv: fix for OCaml ≥ 5.0
Diffstat (limited to 'pkgs/top-level/ocaml-packages.nix')
-rw-r--r--pkgs/top-level/ocaml-packages.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 617281df58a9d..d1e599d8970f5 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -263,10 +263,7 @@ let
 
     cstruct-unix = callPackage ../development/ocaml-modules/cstruct/unix.nix {};
 
-    csv =
-      if lib.versionAtLeast ocaml.version "4.2"
-      then callPackage ../development/ocaml-modules/csv { }
-      else callPackage ../development/ocaml-modules/csv/1.5.nix { };
+    csv = callPackage ../development/ocaml-modules/csv { };
 
     csv-lwt = callPackage ../development/ocaml-modules/csv/lwt.nix { };