6b8d4cb307
Fixes: "bandb - bandb failure: Unable to open sqlite database: unable to open database file"
26 lines
497 B
Nix
26 lines
497 B
Nix
{ stdenv, bash
|
|
, flex, bison
|
|
, openssl, gnutls, zlib }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "charybdis";
|
|
version = "3.5.7";
|
|
|
|
src = ./.;
|
|
|
|
patches = [
|
|
./patches/bandb-remove-setenv.patch
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-epoll"
|
|
"--enable-ipv6"
|
|
"--with-zlib-path=${zlib.dev}/lib"
|
|
"--enable-openssl=${openssl.dev}"
|
|
"--with-program-prefix=charybdis-"
|
|
"--sysconfdir=/etc/charybdis"
|
|
];
|
|
|
|
nativeBuildInputs = [ bison flex ];
|
|
buildInputs = [ openssl gnutls zlib ];
|
|
}
|