3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.mdx: disable for OCaml < 4.08

This commit is contained in:
Vincent Laporte 2022-02-24 17:43:54 +01:00 committed by Vincent Laporte
parent fe3a600cdd
commit 2159235eed
2 changed files with 4 additions and 2 deletions

View file

@ -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=";

View file

@ -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/";