3
0
Fork 0
forked from mirrors/nixpkgs

Add SSL support to HAProxy

This commit is contained in:
Remy Goldschmidt 2015-03-26 14:29:10 -04:00
parent 329de0fa75
commit f6d223c773

View file

@ -1,4 +1,4 @@
{ stdenv, pkgs, fetchurl }:
{ stdenv, pkgs, fetchurl, openssl }:
stdenv.mkDerivation rec {
version = "1.5.11";
@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "1gwkyy06c8bw5vcjv82hai554zrd415jjsb1iafg01c4k1ia8nlb";
};
buildInputs = [ ];
buildInputs = [ openssl ];
# TODO: make it work on darwin/bsd as well
preConfigure = ''
export makeFlags="TARGET=linux2628 PREFIX=$out"
export makeFlags="TARGET=linux2628 PREFIX=$out USE_OPENSSL=yes"
'';
meta = {