pgbouncer: use c-ares for name resolution (#66336)
According to pgbouncer README.md file c-ares is the prefered way to resolve names for pgbouncer 1.10+: https://github.com/pgbouncer/pgbouncer/blob/master/README.md#dns-lookup-support The previous method (evdns) did not support EDNS0 and SOA lookups.
This commit is contained in:
parent
80396cf18a
commit
1c392dfcf0
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, openssl, libevent }:
|
||||
{ stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pgbouncer-${version}";
|
||||
|
@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1m8vsxyna5grs5p0vnxf3fxxnkk9aqjf3qmr2bbkpkhlzr11986q";
|
||||
};
|
||||
|
||||
buildInputs = [ libevent openssl ];
|
||||
buildInputs = [ libevent openssl c-ares pkg-config ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pgbouncer.github.io;
|
||||
description = "Lightweight connection pooler for PostgreSQL";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue