ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of stdenv.lib and replacing them manually. Reference #108938.
This commit is contained in:
committed by
Profpatsch
parent
ff3057f61a
commit
4e42cac49d
@@ -1,10 +1,10 @@
|
||||
{stdenv, fetchurl, automake, ocaml, autoconf, gnum4, pkgconfig, freetype, lablgtk, unzip, cairo, findlib, gdk-pixbuf, gtk2, pango }:
|
||||
{stdenv, lib, fetchurl, automake, ocaml, autoconf, gnum4, pkgconfig, freetype, lablgtk, unzip, cairo, findlib, gdk-pixbuf, gtk2, pango }:
|
||||
|
||||
let
|
||||
pname = "ocaml-cairo";
|
||||
in
|
||||
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||
if lib.versionAtLeast ocaml.version "4.06"
|
||||
then throw "${pname} is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://cairographics.org/cairo-ocaml";
|
||||
description = "ocaml bindings for cairo library";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user