postfix: Fix build by adding libnsl
Needed after the glibc upgrade. Also some minor buildInputs improvements. Fixes #31442
This commit is contained in:
parent
e38f6ab41f
commit
b306298bdc
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, makeWrapper, gnused, db, openssl, cyrus_sasl
|
{ stdenv, lib, fetchurl, makeWrapper, gnused, db, openssl, cyrus_sasl, libnsl
|
||||||
, coreutils, findutils, gnugrep, gawk, icu, pcre
|
, coreutils, findutils, gnugrep, gawk, icu, pcre
|
||||||
, withPgSQL ? false, postgresql
|
, withPgSQL ? false, postgresql
|
||||||
, withMySQL ? false, libmysql
|
, withMySQL ? false, libmysql
|
||||||
@ -32,7 +32,8 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "1gs025smgynrlsg44cypjam99ds92mc9q46l5085d9sy0xfrf2sv";
|
sha256 = "1gs025smgynrlsg44cypjam99ds92mc9q46l5085d9sy0xfrf2sv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper gnused db openssl cyrus_sasl icu pcre ]
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
buildInputs = [ db openssl cyrus_sasl icu libnsl pcre ]
|
||||||
++ lib.optional withPgSQL postgresql
|
++ lib.optional withPgSQL postgresql
|
||||||
++ lib.optional withMySQL libmysql
|
++ lib.optional withMySQL libmysql
|
||||||
++ lib.optional withSQLite sqlite
|
++ lib.optional withSQLite sqlite
|
||||||
|
Loading…
x
Reference in New Issue
Block a user