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}" then throw "dune is not available for OCaml ${ocaml.version}"
else else
@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
dontAddPrefix = true; dontAddPrefix = true;
meta = { meta = with lib; {
homepage = "https://dune.build/"; homepage = "https://dune.build/";
description = "A composable build system"; description = "A composable build system";
maintainers = [ stdenv.lib.maintainers.vbgl stdenv.lib.maintainers.marsam ]; maintainers = [ maintainers.vbgl maintainers.marsam ];
license = stdenv.lib.licenses.mit; license = licenses.mit;
inherit (ocaml.meta) platforms; inherit (ocaml.meta) platforms;
}; };
} }