summary refs log tree commit diff
path: root/pkgs/servers/samba
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-03-20 15:20:54 +0300
committerNikolay Amiantov <ab@fmap.me>2017-03-20 15:24:00 +0300
commit21439ef4168c3e1b363d3cba471ff2b50b195a9b (patch)
treea763e5f8ef22c5564f0643240f833a4770451c41 /pkgs/servers/samba
parent8d721e29104b8fd6a18d1f36f34bac7b9b1b25de (diff)
downloadnixpkgs-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar
nixpkgs-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.gz
nixpkgs-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.bz2
nixpkgs-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.lz
nixpkgs-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.xz
nixpkgs-21439ef4168c3e1b363d3cba471ff2b50b195a9b.tar.zst
nixpkgs-21439ef4168c3e1b363d3cba471ff2b50b195a9b.zip
samba: enable parallel building
Diffstat (limited to 'pkgs/servers/samba')
-rw-r--r--pkgs/servers/samba/4.x.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix
index 51bee4f0b4c..31867bee105 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"' \;