diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-05-26 08:38:20 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-05-26 08:38:21 +0200 |
commit | ffcfca42e4f263af4e1281769f050e01b114fd79 (patch) | |
tree | 6aca45fed01bf193c2f82ff69a77dd2461715c8a | |
parent | 67a752bf71dc9805a5ed5138fa63184873f20ffe (diff) | |
download | nixpkgs-ffcfca42e4f263af4e1281769f050e01b114fd79.tar nixpkgs-ffcfca42e4f263af4e1281769f050e01b114fd79.tar.gz nixpkgs-ffcfca42e4f263af4e1281769f050e01b114fd79.tar.bz2 nixpkgs-ffcfca42e4f263af4e1281769f050e01b114fd79.tar.lz nixpkgs-ffcfca42e4f263af4e1281769f050e01b114fd79.tar.xz nixpkgs-ffcfca42e4f263af4e1281769f050e01b114fd79.tar.zst nixpkgs-ffcfca42e4f263af4e1281769f050e01b114fd79.zip |
ocamlPackages.lwt: fix for OCaml 5.0
-rw-r--r-- | pkgs/development/ocaml-modules/lwt/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt/default.nix b/pkgs/development/ocaml-modules/lwt/default.nix index cf631fd08e4..4033336ae11 100644 --- a/pkgs/development/ocaml-modules/lwt/default.nix +++ b/pkgs/development/ocaml-modules/lwt/default.nix @@ -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" ''; |