mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
samba4: Remove some unecessary outputs
This commit is contained in:
parent
1fe515db8c
commit
b3f76d6030
@ -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 New Issue
Block a user