From b3f76d6030d8fed066611cf44895903a42902522 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 2 Apr 2015 18:07:22 -0700 Subject: samba4: Remove some unecessary outputs --- pkgs/servers/samba/4.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/servers/samba') diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix index a69fc23117f5..7ee1c78ceebb 100644 --- a/pkgs/servers/samba/4.x.nix +++ b/pkgs/servers/samba/4.x.nix @@ -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 -- cgit 1.4.1