about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/opam/1.0.0.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/ocaml/opam/1.0.0.nix')
-rw-r--r--pkgs/development/tools/ocaml/opam/1.0.0.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/opam/1.0.0.nix b/pkgs/development/tools/ocaml/opam/1.0.0.nix
index 52c710a86b82f..d66b3880de213 100644
--- a/pkgs/development/tools/ocaml/opam/1.0.0.nix
+++ b/pkgs/development/tools/ocaml/opam/1.0.0.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchgit, fetchurl, ocaml, unzip, ncurses, curl }:
+{ stdenv, lib, fetchgit, fetchurl, ocaml, unzip, ncurses, curl }:
 
-assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12.1";
+assert lib.versionAtLeast ocaml.version "3.12.1";
 
 let
   srcs = {