default.nix: enable ziplinks

This commit is contained in:
Martin Weinelt 2020-07-30 13:27:10 +02:00 committed by Martin Weinelt
parent f5f2190b40
commit 66225eb7ef

View file

@ -1,6 +1,6 @@
{ stdenv, bash { stdenv, bash
, flex, bison , flex, bison
, openssl, gnutls }: , openssl, gnutls, zlib }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "charybdis"; pname = "charybdis";
@ -11,11 +11,12 @@ stdenv.mkDerivation {
configureFlags = [ configureFlags = [
"--enable-epoll" "--enable-epoll"
"--enable-ipv6" "--enable-ipv6"
"--with-zlib-path=${zlib.dev}/lib"
"--enable-openssl=${openssl.dev}" "--enable-openssl=${openssl.dev}"
"--with-program-prefix=charybdis-" "--with-program-prefix=charybdis-"
"--sysconfdir=/etc/charybdis" "--sysconfdir=/etc/charybdis"
]; ];
nativeBuildInputs = [ bison flex ]; nativeBuildInputs = [ bison flex ];
buildInputs = [ openssl gnutls ]; buildInputs = [ openssl gnutls zlib ];
} }