summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/type_conv
diff options
context:
space:
mode:
authorKirill Boltaev <aske@fmap.me>2016-10-05 11:32:30 +0400
committervbgl <vbgl@users.noreply.github.com>2016-10-05 09:32:30 +0200
commit3e646865f4eb5216117dc49f3c9fb4a02ad2313b (patch)
tree9418314db159ba326550bf4af9df1e7aa9a75332 /pkgs/development/ocaml-modules/type_conv
parent916364af72f15e7635387889d883b605948b1f1d (diff)
downloadnixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar
nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.gz
nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.bz2
nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.lz
nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.xz
nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.tar.zst
nixlib-3e646865f4eb5216117dc49f3c9fb4a02ad2313b.zip
treewide: use ocaml.version (#19192)
Diffstat (limited to 'pkgs/development/ocaml-modules/type_conv')
-rw-r--r--pkgs/development/ocaml-modules/type_conv/108.08.00.nix6
-rw-r--r--pkgs/development/ocaml-modules/type_conv/109.60.01.nix6
2 files changed, 2 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
index e014da8b66a9..4a3d8c58f0ba 100644
--- a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
+++ b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix
@@ -1,10 +1,6 @@
 {stdenv, fetchurl, ocaml, findlib, camlp4}:
 
-let
-  ocaml_version = (builtins.parseDrvName ocaml.name).version;
-in
-
-assert stdenv.lib.versionOlder "3.12" ocaml_version;
+assert stdenv.lib.versionOlder "3.12" ocaml.version;
 
 stdenv.mkDerivation {
   name = "ocaml-type_conv-108.08.00";
diff --git a/pkgs/development/ocaml-modules/type_conv/109.60.01.nix b/pkgs/development/ocaml-modules/type_conv/109.60.01.nix
index b6747a48d95d..ae2b62f6b360 100644
--- a/pkgs/development/ocaml-modules/type_conv/109.60.01.nix
+++ b/pkgs/development/ocaml-modules/type_conv/109.60.01.nix
@@ -1,10 +1,6 @@
 {stdenv, fetchurl, ocaml, findlib, camlp4}:
 
-let
-  ocaml_version = (builtins.parseDrvName ocaml.name).version;
-in
-
-assert stdenv.lib.versionOlder "4.00" ocaml_version;
+assert stdenv.lib.versionOlder "4.00" ocaml.version;
 
 stdenv.mkDerivation {
   name = "ocaml-type_conv-109.60.01";