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,6 +1,6 @@
{ stdenv, fetchpatch, python, cmake, llvm, ocaml, findlib, ctypes }:
{ stdenv, lib, fetchpatch, python, cmake, llvm, ocaml, findlib, ctypes }:
let version = stdenv.lib.getVersion llvm; in
let version = lib.getVersion llvm; in
stdenv.mkDerivation {
pname = "ocaml-llvm";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
cmakeFlags = [
"-DLLVM_OCAML_OUT_OF_TREE=TRUE"
"-DLLVM_OCAML_INSTALL_PATH=${placeholder "out"}/ocaml"
"-DLLVM_OCAML_EXTERNAL_LLVM_LIBDIR=${stdenv.lib.getLib llvm}/lib"
"-DLLVM_OCAML_EXTERNAL_LLVM_LIBDIR=${lib.getLib llvm}/lib"
];
buildFlags = [ "ocaml_all" ];
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
inherit (llvm.meta) license homepage;
platforms = ocaml.meta.platforms or [];
description = "OCaml bindings distributed with LLVM";
maintainers = with stdenv.lib.maintainers; [ vbgl ];
maintainers = with lib.maintainers; [ vbgl ];
};
}