tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Add support for gzip compression
Danny Wilson
10 years ago
2c80e12e
ee56b6aa
+3
-3
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
haproxy
default.nix
+3
-3
pkgs/tools/networking/haproxy/default.nix
···
1
1
-
{ stdenv, pkgs, fetchurl, openssl }:
1
1
+
{ stdenv, pkgs, fetchurl, openssl, zlib }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
majorVersion = "1.5";
···
10
10
sha256 = "16cg1jmy2d8mq2ypwifsvhbyp4pyrj0zm0r818sx0r4hchwdsrcm";
11
11
};
12
12
13
13
-
buildInputs = [ openssl ];
13
13
+
buildInputs = [ openssl zlib ];
14
14
15
15
# TODO: make it work on darwin/bsd as well
16
16
preConfigure = ''
17
17
-
export makeFlags="TARGET=${if stdenv.isSunOS then "solaris" else "linux2628"} PREFIX=$out USE_OPENSSL=yes"
17
17
+
export makeFlags="TARGET=${if stdenv.isSunOS then "solaris" else "linux2628"} PREFIX=$out USE_OPENSSL=yes USE_ZLIB=yes"
18
18
'';
19
19
20
20
meta = {