ocamlformat: build versions [0.17.0; 0.19.0[ with OCaml 4.12
This commit is contained in:
parent
1a765a2827
commit
28b02ff09c
|
@ -28,8 +28,10 @@ let src =
|
|||
}."${version}";
|
||||
};
|
||||
ocamlPackages =
|
||||
if lib.versionAtLeast version "0.17.0"
|
||||
if lib.versionAtLeast version "0.19.0"
|
||||
then ocaml-ng.ocamlPackages
|
||||
else if lib.versionAtLeast version "0.17.0"
|
||||
then ocaml-ng.ocamlPackages_4_12
|
||||
else if lib.versionAtLeast version "0.14.3"
|
||||
then ocaml-ng.ocamlPackages_4_10
|
||||
else ocaml-ng.ocamlPackages_4_07
|
||||
|
|
Loading…
Reference in a new issue