Skip to content

Commit

Permalink
samba: enable parallel building
Browse files Browse the repository at this point in the history
  • Loading branch information
abbradar committed Mar 20, 2017
1 parent 8d721e2 commit 21439ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/servers/samba/4.x.nix
Expand Up @@ -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"' \;
Expand Down

1 comment on commit 21439ef

@dtzWill
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hooray! Thanks! 👏

Please sign in to comment.