ocamlPackages.dum: fix build with OCaml ≥ 5.0

authored by Vincent Laporte and committed by Vincent Laporte 75fa489b ab0a9324

+6
+6
pkgs/development/ocaml-modules/dum/default.nix
··· 13 13 sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr"; 14 14 }; 15 15 16 + postPatch = '' 17 + substituteInPlace "dum.ml" \ 18 + --replace "Lazy.lazy_is_val" "Lazy.is_val" \ 19 + --replace "Obj.final_tag" "Obj.custom_tag" 20 + ''; 21 + 16 22 nativeBuildInputs = [ ocaml findlib ]; 17 23 propagatedBuildInputs = [ easy-format ]; 18 24