Skip to content

Commit

Permalink
postfix: Fix build by adding libnsl
Browse files Browse the repository at this point in the history
Needed after the glibc upgrade.

Also some minor buildInputs improvements.

Fixes #31442
  • Loading branch information
dezgeg committed Nov 9, 2017
1 parent e38f6ab commit b306298
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/servers/mail/postfix/default.nix
@@ -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
, withPgSQL ? false, postgresql
, withMySQL ? false, libmysql
Expand Down Expand Up @@ -32,7 +32,8 @@ in stdenv.mkDerivation rec {
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 withMySQL libmysql
++ lib.optional withSQLite sqlite
Expand Down

0 comments on commit b306298

Please sign in to comment.