pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib
|
||||
{ lib, stdenv, fetchurl, ocaml, findlib
|
||||
, lambdaTerm, cppo, makeWrapper, buildDunePackage
|
||||
}:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
if !lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "utop is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
@@ -58,7 +58,7 @@ buildDunePackage rec {
|
||||
--prefix CAML_LD_LIBRARY_PATH ":" "${get "CAML_LD_LIBRARY_PATH"}" \
|
||||
--prefix OCAMLPATH ":" "${get "OCAMLPATH"}" \
|
||||
--prefix OCAMLPATH ":" $(unset OCAMLPATH; addOCamlPath "$out"; printf %s "$OCAMLPATH") \
|
||||
--add-flags "-I ${findlib}/lib/ocaml/${stdenv.lib.getVersion ocaml}/site-lib"
|
||||
--add-flags "-I ${findlib}/lib/ocaml/${lib.getVersion ocaml}/site-lib"
|
||||
done
|
||||
'';
|
||||
|
||||
@@ -70,10 +70,10 @@ buildDunePackage rec {
|
||||
It integrates with the tuareg mode in Emacs.
|
||||
'';
|
||||
homepage = "https://github.com/diml/utop";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.gal_bolle
|
||||
lib.maintainers.gal_bolle
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user