mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
ocamlPackages.rfc7748: fix for OCaml ≥ 5.0
This commit is contained in:
parent
59d07d970b
commit
cba62cad70
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, ocaml
|
||||
|
||||
, ounit
|
||||
@ -18,6 +19,12 @@ buildDunePackage rec {
|
||||
sha256 = "sha256-mgZooyfxrKBVQFn01B8PULmFUW9Zq5HJfgHCSJSkJo4=";
|
||||
};
|
||||
|
||||
# Compatibility with OCaml 5.0
|
||||
patches = fetchpatch {
|
||||
url = "https://github.com/burgerdev/ocaml-rfc7748/commit/f66257bae0317c7b24c4b208ee27ab6eb68460e4.patch";
|
||||
hash = "sha256-780yy8gLOwwf7xIKIIIaoGpDPcY7+dZ0jPS4nrkH2s8=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.05";
|
||||
|
||||
propagatedBuildInputs = [ zarith ];
|
||||
|
Loading…
Reference in New Issue
Block a user