samba4: Remove some unecessary outputs

This commit is contained in:
William A. Kennington III 2015-04-02 18:07:22 -07:00
parent 1fe515db8c
commit b3f76d6030

View file

@ -127,6 +127,12 @@ stdenv.mkDerivation rec {
stripAllList = [ "bin" "sbin" ];
postInstall = ''
# Remove unecessary components
rm -r $out/{lib,share}/ctdb-tests
rm $out/bin/ctdb_run{_cluster,}_tests
'';
postFixup = ''
export SAMBA_LIBS="$(find $out -type f -name \*.so -exec dirname {} \; | sort | uniq)"
read -r -d "" SCRIPT << EOF