ocamlPackages.dum: fix build with OCaml ≥ 5.0
This commit is contained in:
committed by
Vincent Laporte
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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user