Merge pull request #484 from pSub/patch-1

Lighttpd: Enable SSL
This commit is contained in:
viric 2013-04-25 00:06:15 -07:00
commit c932ecaefb

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2, which, file }:
{ stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2, which, file, openssl }:
stdenv.mkDerivation {
name = "lighttpd-1.4.32";
@ -8,7 +8,9 @@ stdenv.mkDerivation {
sha256 = "1hgd9bi4mrak732h57na89lqg58b1kkchnddij9gawffd40ghs0k";
};
buildInputs = [ pcre libxml2 zlib attr bzip2 which file ];
buildInputs = [ pcre libxml2 zlib attr bzip2 which file openssl ];
configureFlags = "--with-openssl --with-openssl-libs=${openssl}";
preConfigure = ''
sed -i "s:/usr/bin/file:${file}/bin/file:g" configure