mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
ocamlPackages.dum: fix build with OCaml ≥ 5.0
This commit is contained in:
parent
ab0a9324bf
commit
75fa489b3f
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace "dum.ml" \
|
||||
--replace "Lazy.lazy_is_val" "Lazy.is_val" \
|
||||
--replace "Obj.final_tag" "Obj.custom_tag"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [ easy-format ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user