diff --git a/pkgs/development/ocaml-modules/angstrom/default.nix b/pkgs/development/ocaml-modules/angstrom/default.nix index 2c2dce35b4fc..d7a2c97791c7 100644 --- a/pkgs/development/ocaml-modules/angstrom/default.nix +++ b/pkgs/development/ocaml-modules/angstrom/default.nix @@ -2,7 +2,6 @@ lib, fetchFromGitHub, buildDunePackage, - ocaml, ocaml-syntax-shims, alcotest, bigstringaf, @@ -14,8 +13,6 @@ buildDunePackage (finalAttrs: { pname = "angstrom"; version = "0.16.1"; - minimalOCamlVersion = "4.04"; - src = fetchFromGitHub { owner = "inhabitedtype"; repo = "angstrom"; @@ -29,7 +26,7 @@ buildDunePackage (finalAttrs: { ]; buildInputs = [ ocaml-syntax-shims ]; propagatedBuildInputs = [ bigstringaf ]; - doCheck = lib.versionAtLeast ocaml.version "4.08"; + doCheck = lib.versionOlder alcotest.version "1.10"; passthru.updateScript = gitUpdater { };