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-11 13:49:15 +01:00
committed by Profpatsch
parent ff3057f61a
commit 4e42cac49d
159 changed files with 419 additions and 419 deletions

View File

@@ -1,9 +1,9 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
let
# Use astring 0.8.3 for OCaml < 4.05
param =
if stdenv.lib.versionAtLeast ocaml.version "4.05"
if lib.versionAtLeast ocaml.version "4.05"
then {
version = "0.8.5";
sha256 = "1ykhg9gd3iy7zsgyiy2p9b1wkpqg9irw5pvcqs3sphq71iir4ml6";
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
adds a few missing functions and fully exploits OCaml's newfound string
immutability.
'';
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}