summary refs log tree commit diff
path: root/pkgs/servers/mail/postfix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-11-09 16:27:25 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2017-11-09 16:27:25 +0200
commitb306298bdcf87f354025b2272c0eee3facae43cf (patch)
tree57d2137d5d6f901ed2e9ededec68541d9ee20d12 /pkgs/servers/mail/postfix
parente38f6ab41f1f0356f66af1686ffc5d2cd7cb5bd0 (diff)
downloadnixpkgs-b306298bdcf87f354025b2272c0eee3facae43cf.tar
nixpkgs-b306298bdcf87f354025b2272c0eee3facae43cf.tar.gz
nixpkgs-b306298bdcf87f354025b2272c0eee3facae43cf.tar.bz2
nixpkgs-b306298bdcf87f354025b2272c0eee3facae43cf.tar.lz
nixpkgs-b306298bdcf87f354025b2272c0eee3facae43cf.tar.xz
nixpkgs-b306298bdcf87f354025b2272c0eee3facae43cf.tar.zst
nixpkgs-b306298bdcf87f354025b2272c0eee3facae43cf.zip
postfix: Fix build by adding libnsl
Needed after the glibc upgrade.

Also some minor buildInputs improvements.

Fixes #31442
Diffstat (limited to 'pkgs/servers/mail/postfix')
-rw-r--r--pkgs/servers/mail/postfix/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/mail/postfix/default.nix b/pkgs/servers/mail/postfix/default.nix
index 1bb9d83375a..7b6be5ec39e 100644
--- a/pkgs/servers/mail/postfix/default.nix
+++ b/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
@@ -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