summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/fieldslib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/fieldslib/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/fieldslib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/fieldslib/default.nix b/pkgs/development/ocaml-modules/fieldslib/default.nix
index 9a90c7e5d0d2..4adddbfe54d2 100644
--- a/pkgs/development/ocaml-modules/fieldslib/default.nix
+++ b/pkgs/development/ocaml-modules/fieldslib/default.nix
@@ -1,8 +1,8 @@
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, camlp4 }:
-assert stdenv.lib.versionOlder "4.00" (stdenv.lib.getVersion ocaml);
+assert lib.versionOlder "4.00" (lib.getVersion ocaml);
-if stdenv.lib.versionAtLeast ocaml.version "4.06"
+if lib.versionAtLeast ocaml.version "4.06"
then throw "fieldslib-109.20.03 is not available for OCaml ${ocaml.version}"
else