ocamlPackages.spacetime_lib: disable for OCaml ≥ 4.12

This commit is contained in:
Vincent Laporte 2022-03-13 15:04:39 +01:00 committed by Vincent Laporte
parent 446dda6d81
commit 201d1632e7

View file

@ -1,4 +1,7 @@
{ lib, fetchFromGitHub, buildDunePackage, owee }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, owee }:
lib.throwIfNot (lib.versionAtLeast "4.12" ocaml.version)
"spacetime_lib is not available for OCaml ${ocaml.version}"
buildDunePackage rec {
pname = "spacetime_lib";