Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
ocamlPackages.lens: disable for OCaml ≥ 4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed May 27, 2020
1 parent 147aded commit 03cd92f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/ocaml-modules/lens/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 03cd92f

Please sign in to comment.