postfix: fix linking error after #51770; issue #53001

This commit is contained in:
Vladimír Čunát
2019-01-06 14:52:11 +01:00
parent b4f33e6d33
commit 711db1b0cd

View File

@@ -79,6 +79,8 @@ in stdenv.mkDerivation rec {
make makefiles CCARGS='${ccargs}' AUXLIBS='${auxlibs}'
'';
NIX_LDFLAGS = lib.optional withLDAP "-llber";
installTargets = [ "non-interactive-package" ];
installFlags = [ "install_root=installdir" ];