ocamlPackages.accessor_core: mark as broken with OCaml ≥ 4.12

This commit is contained in:
Vincent Laporte 2021-04-20 05:33:36 +02:00 committed by Vincent Laporte
parent 1a7f327cb6
commit 8984dee07e
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{ self
, lib
, openssl
, zstd
}:
@ -40,6 +41,7 @@ with self;
version = "0.14.1";
hash = "1cdkv34m6czhacivpbb2sasj83fgcid6gnqk30ig9i84z8nh2gw2";
meta.description = "Accessors for Core types, for use with the Accessor library";
meta.broken = lib.versionAtLeast ocaml.version "4.12";
propagatedBuildInputs = [ accessor_base core_kernel ];
};

View File

@ -1284,7 +1284,7 @@ let
if lib.versionOlder "4.08" ocaml.version
then import ../development/ocaml-modules/janestreet/0.14.nix {
inherit self;
inherit (pkgs) openssl zstd;
inherit (pkgs) lib openssl zstd;
}
else if lib.versionOlder "4.07" ocaml.version
then import ../development/ocaml-modules/janestreet/0.12.nix {