diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-03-20 15:20:54 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-03-20 15:24:00 +0300 |
commit | 21439ef4168c3e1b363d3cba471ff2b50b195a9b (patch) | |
tree | a763e5f8ef22c5564f0643240f833a4770451c41 /pkgs | |
parent | 8d721e29104b8fd6a18d1f36f34bac7b9b1b25de (diff) | |
download | nixlib-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar nixlib-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.gz nixlib-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.bz2 nixlib-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.lz nixlib-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.xz nixlib-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.zst nixlib-21439ef4168c3e1b363d3cba471ff2b50b195a9b.zip |
samba: enable parallel building
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/samba/4.x.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix index 51bee4f0b4c9..31867bee1055 100644 --- a/pkgs/servers/samba/4.x.nix +++ b/pkgs/servers/samba/4.x.nix @@ -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"' \; |