Commit 80e941f2 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

postfix: enable parallel builds

On my 16-core machine the build times change as:

- Before: 40s
- After: 14s
parent 60ffc2aa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -84,6 +84,8 @@ in stdenv.mkDerivation rec {
    make makefiles CCARGS='${ccargs}' AUXLIBS='${auxlibs}'
  '';

  enableParallelBuilding = true;

  NIX_LDFLAGS = lib.optionalString withLDAP "-llber";

  installTargets = [ "non-interactive-package" ];