lynx: Actually provide ssl support when requested

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-01-13 20:16:27 -05:00
parent f1766c252f
commit 076ff2eede

View file

@ -12,9 +12,9 @@ stdenv.mkDerivation {
sha256 = "1baxwpdvak6nalr943g22z67r1d3fbibbkqvkvvar9xlvrs9gv20";
};
configureFlags = if sslSupport then "--with-ssl" else "";
configureFlags = if sslSupport then "--with-ssl=${openssl}" else "";
buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl;
buildInputs = [ ncurses gzip ];
nativeBuildInputs = [ ncurses ];
crossAttrs = {