gnome3.adwaita-icon-theme: remove empty dir tree

Also similar for old gnome2 icon theme.
/cc maintainer @lethalman.

+7 -1
+3
pkgs/desktops/gnome-2/desktop/gnome-icon-theme/default.nix
··· 11 11 12 12 nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ]; 13 13 14 + # remove a tree of dirs with no files within 15 + postInstall = '' rm -r "$out/share/locale" ''; 16 + 14 17 meta = { 15 18 platforms = stdenv.lib.platforms.linux; 16 19 };
+4 -1
pkgs/desktops/gnome-3/3.16/core/adwaita-icon-theme/default.nix
··· 13 13 propagatedBuildInputs = [ hicolor_icon_theme ]; 14 14 15 15 buildInputs = [ gdk_pixbuf librsvg ]; 16 - 16 + 17 17 nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ]; 18 + 19 + # remove a tree of dirs with no files within 20 + postInstall = '' rm -r "$out/locale" ''; 18 21 19 22 meta = with stdenv.lib; { 20 23 platforms = platforms.linux;