ocamlPackages.lens: disable for OCaml ≥ 4.10
This commit is contained in:
parent
147aded7df
commit
03cd92fe70
@ -1,4 +1,8 @@
|
|||||||
{ lib, fetchzip, ppx_deriving, ppxfind, buildDunePackage }:
|
{ lib, ocaml, fetchzip, ppx_deriving, ppxfind, buildDunePackage }:
|
||||||
|
|
||||||
|
if lib.versionAtLeast ocaml.version "4.10"
|
||||||
|
then throw "lens is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "lens";
|
pname = "lens";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user