mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
samba4: Remove some unecessary outputs
This commit is contained in:
parent
1fe515db8c
commit
b3f76d6030
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue