ocamlPackages.ppx_derivers: pin Dune to version 1 for OCaml < 4.08
This commit is contained in:
parent
ad74ffec15
commit
6dace2206e
1 changed files with 5 additions and 5 deletions
|
@ -1,12 +1,10 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage (rec {
|
||||||
pname = "ppx_derivers";
|
pname = "ppx_derivers";
|
||||||
version = "1.2.1";
|
version = "1.2.1";
|
||||||
|
|
||||||
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
minimalOCamlVersion = "4.02";
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "diml";
|
owner = "diml";
|
||||||
|
@ -21,4 +19,6 @@ buildDunePackage rec {
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
};
|
};
|
||||||
}
|
} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
|
||||||
|
duneVersion = "1";
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue