Skip to content

Commit

Permalink
fix async_ssl on 4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Dec 25, 2024
1 parent 5d765b1 commit e85ba54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocaml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ let
linuxHeaders
nixpkgs
pam
net-snmp;
net-snmp
stdenv;
zstd = zstd-oc;
};
janeStreet_0_17 = import ./janestreet-0.17.nix {
Expand Down
4 changes: 4 additions & 0 deletions ocaml/janestreet-0.16.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ self
, stdenv
, bash
, fetchpatch
, fetchFromGitHub
Expand Down Expand Up @@ -159,6 +160,9 @@ with self;
meta.description = "Async wrappers for SSL";
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ async ctypes ctypes-foreign openssl ];
env = lib.optionalAttrs stdenv.cc.isGNU {
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
};
};

async_udp = janePackage {
Expand Down

0 comments on commit e85ba54

Please sign in to comment.