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