summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/type_conv/109.60.01.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/type_conv/109.60.01.nix')
-rw-r--r--pkgs/development/ocaml-modules/type_conv/109.60.01.nix6
1 files changed, 1 insertions, 5 deletions
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";