ocamlPackages.lwt: fix for OCaml 5.0
This commit is contained in:
@@ -16,6 +16,8 @@ buildDunePackage rec {
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (lib.versionAtLeast ocaml.version "5.0") ''
|
||||
substituteInPlace src/core/dune \
|
||||
--replace "(libraries bytes)" ""
|
||||
substituteInPlace src/unix/dune \
|
||||
--replace "libraries bigarray lwt" "libraries lwt"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user