mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
ocamlPackages.ppx_stubs: disable for OCaml ≥ 5.2
This commit is contained in:
parent
b4aca0dd32
commit
b206de3bfc
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, ocaml
|
||||
, fetchFromGitHub
|
||||
, buildDunePackage
|
||||
, bigarray-compat
|
||||
@ -12,6 +13,9 @@
|
||||
, findlib
|
||||
}:
|
||||
|
||||
lib.throwIf (lib.versionAtLeast ocaml.version "5.2")
|
||||
"ppx_cstubs is not available for OCaml ${ocaml.version}"
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_cstubs";
|
||||
version = "0.7.0";
|
||||
|
Loading…
Reference in New Issue
Block a user