about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/mlgmp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/mlgmp/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/mlgmp/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/mlgmp/default.nix b/nixpkgs/pkgs/development/ocaml-modules/mlgmp/default.nix
index c37c5bd78114..ffd78150689a 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/mlgmp/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/mlgmp/default.nix
@@ -1,6 +1,6 @@
-{stdenv, fetchurl, ocaml, findlib, gmp, mpfr, ncurses }:
+{stdenv, lib, fetchurl, ocaml, findlib, gmp, mpfr, ncurses }:
 
-if stdenv.lib.versionAtLeast ocaml.version "4.03"
+if lib.versionAtLeast ocaml.version "4.03"
 then throw "mlgmp is not available for OCaml ${ocaml.version}" else
 
 let
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
     sha256 = "3ce1a53fa452ff5a9ba618864d3bc46ef32190b57202d1e996ca7df837ad4f24";
   };
 
-  makeFlags = [ 
+  makeFlags = [
     "DESTDIR=$(out)/lib/ocaml/${ocaml.version}/site-lib/gmp"
   ];