samba: enable parallel building

This commit is contained in:
Nikolay Amiantov 2017-03-20 15:20:54 +03:00
parent 8d721e2910
commit 21439ef416

View File

@ -66,7 +66,8 @@ stdenv.mkDerivation rec {
++ optional (!enableDomainController) "--without-ad-dc"
++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ];
enableParallelBuilding = true;
# To build in parallel.
buildPhase = "python buildtools/bin/waf build -j $NIX_BUILD_CORES";
# Some libraries don't have /lib/samba in RPATH but need it.
# Use find -type f -executable -exec echo {} \; -exec sh -c 'ldd {} | grep "not found"' \;