diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-09-18 08:21:02 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-09-18 08:55:02 +0200 |
commit | 443321aed24916a572c67c7cb0d678c3aff9ec0d (patch) | |
tree | 342cc675f55eaf14f4f2d3597dc4fb41f747889e | |
parent | 5efaf495d0e33cc39d10ef6842436dd278420a60 (diff) | |
download | nixpkgs-443321aed24916a572c67c7cb0d678c3aff9ec0d.tar nixpkgs-443321aed24916a572c67c7cb0d678c3aff9ec0d.tar.gz nixpkgs-443321aed24916a572c67c7cb0d678c3aff9ec0d.tar.bz2 nixpkgs-443321aed24916a572c67c7cb0d678c3aff9ec0d.tar.lz nixpkgs-443321aed24916a572c67c7cb0d678c3aff9ec0d.tar.xz nixpkgs-443321aed24916a572c67c7cb0d678c3aff9ec0d.tar.zst nixpkgs-443321aed24916a572c67c7cb0d678c3aff9ec0d.zip |
ocamlPackages.telegraml: prepare for batteries 3.7.1
-rw-r--r-- | pkgs/development/ocaml-modules/telegraml/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/telegraml/default.nix b/pkgs/development/ocaml-modules/telegraml/default.nix index 1aca2da2974..d58e6adfe2e 100644 --- a/pkgs/development/ocaml-modules/telegraml/default.nix +++ b/pkgs/development/ocaml-modules/telegraml/default.nix @@ -10,7 +10,6 @@ buildDunePackage rec { pname = "telegraml"; version = "unstable-2021-06-17"; - duneVersion = "3"; src = fetchFromGitHub { owner = "nv-vn"; @@ -19,6 +18,10 @@ buildDunePackage rec { sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4="; }; + postPatch = '' + substituteInPlace src/dune --replace batteries batteries.unthreaded + ''; + propagatedBuildInputs = [ batteries cohttp-lwt-unix |