forked from mirrors/nixpkgs
ocamlPackages.mdx: disable for OCaml < 4.08
This commit is contained in:
parent
fe3a600cdd
commit
2159235eed
|
@ -8,6 +8,8 @@ buildDunePackage rec {
|
|||
version = "2.1.0";
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/realworldocaml/mdx/releases/download/${version}/mdx-${version}.tbz";
|
||||
sha256 = "sha256-ol1zy8LODDYdcnv/jByE0pnqJ5ujQuMALq3v9y7td/o=";
|
||||
|
|
|
@ -17,8 +17,8 @@ buildDunePackage rec {
|
|||
|
||||
checkInputs = [ mdx.bin ];
|
||||
|
||||
# mdx is not available for OCaml < 4.07
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.07";
|
||||
# mdx is not available for OCaml < 4.08
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/c-cube/printbox/";
|
||||
|
|
Loading…
Reference in a new issue