postfix: fix linking error after #51770; issue #53001
commit711db1b0cd6d8a4726232ec1446feb5a1ccad73f
authorVladimír Čunát <vcunat@gmail.com>
dateSun 6 Jan 2019, 14:52 (8 years ago)
parentb4f33e6
pkgs/servers/mail/postfix/default.nix+2
@@ -79,6 +79,8 @@ in stdenv.mkDerivation rec {
7979 make makefiles CCARGS='${ccargs}' AUXLIBS='${auxlibs}'
8080 '';
8181
82+ NIX_LDFLAGS = lib.optional withLDAP "-llber";
83+
8284 installTargets = [ "non-interactive-package" ];
8385
8486 installFlags = [ "install_root=installdir" ];