ocamlPackages.lens: disable for OCaml ≥ 4.10
This commit is contained in:
parent
147aded7df
commit
03cd92fe70
1 changed files with 5 additions and 1 deletions
|
@ -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 {
|
||||
pname = "lens";
|
||||
|
|
Loading…
Reference in a new issue