Commit 91f654d5 authored by Vincent Laporte's avatar Vincent Laporte Committed by github-actions[bot]
Browse files

ocamlPackages.lwt: fix for OCaml 5.0

(cherry picked from commit ffcfca42)
parent 75b9ef08
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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"
  '';