From 248265cdc34c9d3aa6c009e3bfc012c9b2aea412 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 10 Apr 2023 14:14:07 +0200 Subject: [PATCH] ocamlPackages.faraday: use Dune 3 --- pkgs/development/ocaml-modules/faraday/async.nix | 1 + pkgs/development/ocaml-modules/faraday/default.nix | 1 + pkgs/development/ocaml-modules/faraday/lwt-unix.nix | 1 + pkgs/development/ocaml-modules/faraday/lwt.nix | 1 + 4 files changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/faraday/async.nix b/pkgs/development/ocaml-modules/faraday/async.nix index f24866a815c..18d1b76f043 100644 --- a/pkgs/development/ocaml-modules/faraday/async.nix +++ b/pkgs/development/ocaml-modules/faraday/async.nix @@ -5,6 +5,7 @@ buildDunePackage rec { inherit (faraday) version src; minimalOCamlVersion = "4.08"; + duneVersion = "3"; propagatedBuildInputs = [ faraday core_unix async ]; diff --git a/pkgs/development/ocaml-modules/faraday/default.nix b/pkgs/development/ocaml-modules/faraday/default.nix index 0dcfd5ec02d..38ef4bb475a 100644 --- a/pkgs/development/ocaml-modules/faraday/default.nix +++ b/pkgs/development/ocaml-modules/faraday/default.nix @@ -5,6 +5,7 @@ buildDunePackage rec { version = "0.8.2"; minimalOCamlVersion = "4.08"; + duneVersion = "3"; src = fetchFromGitHub { owner = "inhabitedtype"; diff --git a/pkgs/development/ocaml-modules/faraday/lwt-unix.nix b/pkgs/development/ocaml-modules/faraday/lwt-unix.nix index a184011e913..1919de47169 100644 --- a/pkgs/development/ocaml-modules/faraday/lwt-unix.nix +++ b/pkgs/development/ocaml-modules/faraday/lwt-unix.nix @@ -3,6 +3,7 @@ buildDunePackage rec { pname = "faraday-lwt-unix"; inherit (faraday) version src; + duneVersion = "3"; propagatedBuildInputs = [ lwt faraday-lwt ]; diff --git a/pkgs/development/ocaml-modules/faraday/lwt.nix b/pkgs/development/ocaml-modules/faraday/lwt.nix index 2db306254f3..011074f2fba 100644 --- a/pkgs/development/ocaml-modules/faraday/lwt.nix +++ b/pkgs/development/ocaml-modules/faraday/lwt.nix @@ -5,6 +5,7 @@ buildDunePackage rec { inherit (faraday) version src; propagatedBuildInputs = [ faraday lwt ]; + duneVersion = "3"; meta = faraday.meta // { description = "Lwt support for Faraday";