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
@@ -5,11 +5,11 @@ The `buildPhase` and `installPhase` attributes can be reused directly
in many cases. When more fine-grained control on how to run the topkg
build system is required, the attribute `run` can be used.
*/
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, result, opaline }:
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, result, opaline }:
let
param =
if stdenv.lib.versionAtLeast ocaml.version "4.03" then {
if lib.versionAtLeast ocaml.version "4.03" then {
version = "1.0.3";
sha256 = "0b77gsz9bqby8v77kfi4lans47x9p2lmzanzwins5r29maphb8y6";
} else {
@@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://erratique.ch/software/topkg";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
description = "A packager for distributing OCaml software";
inherit (ocaml.meta) platforms;
};