summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lablgtk
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/lablgtk
parentff3057f61a065689fb38dc416caab86e1d1176de (diff)
downloadnixpkgs-4e42cac49df9b9e5ac931c975e8d04bd39b278cf.tar
nixpkgs-4e42cac49df9b9e5ac931c975e8d04bd39b278cf.tar.gz
nixpkgs-4e42cac49df9b9e5ac931c975e8d04bd39b278cf.tar.bz2
nixpkgs-4e42cac49df9b9e5ac931c975e8d04bd39b278cf.tar.lz
nixpkgs-4e42cac49df9b9e5ac931c975e8d04bd39b278cf.tar.xz
nixpkgs-4e42cac49df9b9e5ac931c975e8d04bd39b278cf.tar.zst
nixpkgs-4e42cac49df9b9e5ac931c975e8d04bd39b278cf.zip
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/lablgtk')
-rw-r--r--pkgs/development/ocaml-modules/lablgtk/2.14.0.nix10
-rw-r--r--pkgs/development/ocaml-modules/lablgtk/default.nix2
2 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
index eae356462b3..02fd7004a56 100644
--- a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
+++ b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, ocaml, findlib, pkgconfig, gtk2, libgnomecanvas, libglade, gtksourceview, camlp4 }:
+{ stdenv, lib, fetchurl, ocaml, findlib, pkgconfig, gtk2, libgnomecanvas, libglade, gtksourceview, camlp4 }:
 
-if stdenv.lib.versionAtLeast ocaml.version "4.04"
+if lib.versionAtLeast ocaml.version "4.04"
 then throw "lablgtk-2.14 is not available for OCaml ${ocaml.version}" else
 
 let
@@ -31,11 +31,11 @@ stdenv.mkDerivation (rec {
     branch = "2.14";
     platforms = ocaml.meta.platforms or [];
     maintainers = [
-      stdenv.lib.maintainers.maggesi
-      stdenv.lib.maintainers.roconnor
+      lib.maintainers.maggesi
+      lib.maintainers.roconnor
     ];
     homepage = "http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html";
     description = "LablGTK is is an Objective Caml interface to GTK";
-    license = stdenv.lib.licenses.lgpl21Plus;
+    license = lib.licenses.lgpl21Plus;
   };
 })
diff --git a/pkgs/development/ocaml-modules/lablgtk/default.nix b/pkgs/development/ocaml-modules/lablgtk/default.nix
index 0bc24b539ac..2aa031f419c 100644
--- a/pkgs/development/ocaml-modules/lablgtk/default.nix
+++ b/pkgs/development/ocaml-modules/lablgtk/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, pkgconfig, gtk2, libgnomecanvas, libglade, gtksourceview }:
 
 let param =
-  let check = stdenv.lib.versionAtLeast ocaml.version; in
+  let check = lib.versionAtLeast ocaml.version; in
   if check "4.06" then rec {
     version = "2.18.10";
     src = fetchFromGitHub {