diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2018-06-04 22:42:14 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-06-08 23:17:44 +0200 |
commit | 4c9c4c0a97c175e931ef695b8de744947b237e5f (patch) | |
tree | 59ad6d37d69066ba5d1132c21ecb6b973e9d7a4e /pkgs/tools/networking/haproxy/default.nix | |
parent | e1790030262d1ce4a28144363469af96a588b21d (diff) |
haproxy: fix build on darwin
Diffstat (limited to 'pkgs/tools/networking/haproxy/default.nix')
-rw-r--r-- | pkgs/tools/networking/haproxy/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/haproxy/default.nix b/pkgs/tools/networking/haproxy/default.nix index e01b62b54f1c..1690d3fcc3e3 100644 --- a/pkgs/tools/networking/haproxy/default.nix +++ b/pkgs/tools/networking/haproxy/default.nix @@ -23,7 +23,11 @@ stdenv.mkDerivation rec { url = "https://git.haproxy.org/?p=haproxy-1.8.git;a=patch;h=17514045e5d934dede62116216c1b016fe23dd06"; sha256 = "0hzcvghg8qz45n3mrcgsjgvrvicvbvm52cc4hs5jbk1yb50qvls7"; }) - ]; + ] ++ stdenv.lib.optional stdenv.isDarwin (fetchpatch { + name = "fix-darwin-no-threads-build.patch"; + url = "https://git.haproxy.org/?p=haproxy-1.8.git;a=patch;h=fbf09c441a4e72c4a690bc7ef25d3374767fe5c5;hp=3157ef219c493f3b01192f1b809a086a5b119a1e"; + sha256 = "16ckzb160anf7xih7mmqy59pfz8sdywmyblxnr7lz9xix3jwk55r"; + }); buildInputs = [ openssl zlib ] ++ stdenv.lib.optional useLua lua5_3 |