about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/stringext
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-01-11 13:49:15 +0100
committerProfpatsch <mail@profpatsch.de>2021-01-12 16:33:18 +0100
commit4e42cac49df9b9e5ac931c975e8d04bd39b278cf (patch)
tree61bcec535e21b722b9adf09cf6273ca67ed67d07 /pkgs/development/ocaml-modules/stringext
parentff3057f61a065689fb38dc416caab86e1d1176de (diff)
ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
Diffstat (limited to 'pkgs/development/ocaml-modules/stringext')
-rw-r--r--pkgs/development/ocaml-modules/stringext/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/stringext/default.nix b/pkgs/development/ocaml-modules/stringext/default.nix
index bd0187dc5f4fa..ae797815aed52 100644
--- a/pkgs/development/ocaml-modules/stringext/default.nix
+++ b/pkgs/development/ocaml-modules/stringext/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, ounit, qcheck
+{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, ounit, qcheck
 # Optionally enable tests; test script use OCaml-4.01+ features
-, doCheck ? stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01"
+, doCheck ? lib.versionAtLeast (lib.getVersion ocaml) "4.01"
 }:
 
 let version = "1.4.3"; in
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
   buildInputs = [ ocaml findlib ocamlbuild ounit qcheck ];
 
   configurePhase = "ocaml setup.ml -configure --prefix $out"
-  + stdenv.lib.optionalString doCheck " --enable-tests";
+  + lib.optionalString doCheck " --enable-tests";
   buildPhase = "ocaml setup.ml -build";
   inherit doCheck;
   checkPhase = "ocaml setup.ml -test";
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
     homepage = "https://github.com/rgrinberg/stringext";
     platforms = ocaml.meta.platforms or [];
     description = "Extra string functions for OCaml";
-    license = stdenv.lib.licenses.mit;
-    maintainers = with stdenv.lib.maintainers; [ vbgl ];
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ vbgl ];
   };
 }