1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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"' \;