parent
f3704de649
commit
095ef20a24
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user