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:
sternenseemann
2021-01-12 16:33:18 +01:00
committed by Profpatsch
parent ff3057f61a
commit 4e42cac49d
159 changed files with 419 additions and 419 deletions
@@ -1,10 +1,10 @@
{stdenv, fetchurl, ocaml, pkgconfig, findlib, SDL, SDL_image, SDL_mixer, SDL_ttf, SDL_gfx, lablgl }:
{stdenv, lib, fetchurl, ocaml, pkgconfig, findlib, SDL, SDL_image, SDL_mixer, SDL_ttf, SDL_gfx, lablgl }:
let
pname = "ocamlsdl";
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
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://ocamlsdl.sourceforge.net/";
description = "OCaml bindings for SDL 1.2";
license = stdenv.lib.licenses.lgpl21;
license = lib.licenses.lgpl21;
};
}