dune: stdenv.lib → lib

Reference #108938.
This commit is contained in:
sternenseemann 2021-01-12 20:05:53 +01:00 committed by Vincent Laporte
parent f3704de649
commit 095ef20a24

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, ocaml, findlib }:
{ stdenv, lib, fetchurl, ocaml, findlib }:
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
if !lib.versionAtLeast ocaml.version "4.02"
then throw "dune is not available for OCaml ${ocaml.version}"
else
@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
dontAddPrefix = true;
meta = {
meta = with lib; {
homepage = "https://dune.build/";
description = "A composable build system";
maintainers = [ stdenv.lib.maintainers.vbgl stdenv.lib.maintainers.marsam ];
license = stdenv.lib.licenses.mit;
maintainers = [ maintainers.vbgl maintainers.marsam ];
license = licenses.mit;
inherit (ocaml.meta) platforms;
};
}