ocamlPackages.octavius: pin Dune to version 1 for OCaml < 4.08
This commit is contained in:
parent
400e6f08b6
commit
23eecca495
|
@ -1,6 +1,6 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage (rec {
|
||||||
pname = "octavius";
|
pname = "octavius";
|
||||||
version = "1.2.2";
|
version = "1.2.2";
|
||||||
|
|
||||||
|
@ -11,8 +11,7 @@ buildDunePackage rec {
|
||||||
sha256 = "sha256-/S6WpIo1c5J9uM3xgtAM/elhnsl0XimnIFsKy3ootbA=";
|
sha256 = "sha256-/S6WpIo1c5J9uM3xgtAM/elhnsl0XimnIFsKy3ootbA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimalOCamlVersion = "4.03";
|
||||||
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
@ -22,4 +21,6 @@ buildDunePackage rec {
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
maintainers = with maintainers; [ vbgl ];
|
maintainers = with maintainers; [ vbgl ];
|
||||||
};
|
};
|
||||||
}
|
} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
|
||||||
|
duneVersion = "1";
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue