ocamlformat: build versions < 0.17 with OCaml 4.10
This commit is contained in:
parent
731288ed01
commit
9ffb287d75
@ -25,8 +25,10 @@ let src =
|
||||
}."${version}";
|
||||
};
|
||||
ocamlPackages =
|
||||
if lib.versionAtLeast version "0.14.3"
|
||||
if lib.versionAtLeast version "0.17.0"
|
||||
then ocaml-ng.ocamlPackages
|
||||
else if lib.versionAtLeast version "0.14.3"
|
||||
then ocaml-ng.ocamlPackages_4_10
|
||||
else ocaml-ng.ocamlPackages_4_07
|
||||
; in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user