Revert "krb5: Make lib build parallel"

This reverts commit ac2f05a50a.
This commit is contained in:
Eelco Dolstra 2015-06-01 21:03:32 +02:00
parent b5dea5c86a
commit c449f292d2

View File

@ -97,19 +97,19 @@ stdenv.mkDerivation rec {
];
buildPhase = optionalString libOnly ''
(cd util; make -j $NIX_BUILD_CORES)
(cd include; make -j $NIX_BUILD_CORES)
(cd lib; make -j $NIX_BUILD_CORES)
(cd build-tools; make -j $NIX_BUILD_CORES)
(cd util; make)
(cd include; make)
(cd lib; make)
(cd build-tools; make)
'';
installPhase = optionalString libOnly ''
mkdir -p $out/{bin,include/{gssapi,gssrpc,kadm5,krb5},lib/pkgconfig,sbin,share/{et,man/man1}}
(cd util; make -j $NIX_BUILD_CORES install)
(cd include; make -j $NIX_BUILD_CORES install)
(cd lib; make -j $NIX_BUILD_CORES install)
(cd build-tools; make -j $NIX_BUILD_CORES install)
(cd util; make install)
(cd include; make install)
(cd lib; make install)
(cd build-tools; make install)
rm -rf $out/{sbin,share}
find $out/bin -type f | grep -v 'krb5-config' | xargs rm