ocamlPackages.lwt: fix for OCaml 5.0
This commit is contained in:
parent
67a752bf71
commit
ffcfca42e4
@ -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"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user