summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/curly/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/curly/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/curly/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/curly/default.nix b/pkgs/development/ocaml-modules/curly/default.nix
index 1c48b509c414..20197e207af3 100644
--- a/pkgs/development/ocaml-modules/curly/default.nix
+++ b/pkgs/development/ocaml-modules/curly/default.nix
@@ -1,5 +1,6 @@
{ stdenv, lib, buildDunePackage, fetchurl, ocaml
-, result, alcotest, cohttp-lwt-unix, odoc, curl }:
+, result, alcotest, cohttp-lwt-unix, odoc, curl, cacert
+}:
buildDunePackage rec {
pname = "curly";
@@ -15,8 +16,9 @@ buildDunePackage rec {
};
propagatedBuildInputs = [ result ];
- checkInputs = [ alcotest cohttp-lwt-unix ];
+ checkInputs = [ alcotest cohttp-lwt-unix cacert ];
# test dependencies are only available for >= 4.08
+ # https://github.com/mirage/ca-certs/issues/16
doCheck = lib.versionAtLeast ocaml.version "4.08"
# Some test fails in macOS sandbox
# > Fatal error: exception Unix.Unix_error(Unix.EPERM, "bind", "")