mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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}"
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user