numix-icon-theme: add missing parent icon themes

This commit is contained in:
José Romildo Malaquias 2020-04-17 20:53:38 -03:00
parent 15f823ebd6
commit bc895be32c

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }: { stdenv, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "numix-icon-theme"; pname = "numix-icon-theme";
@ -13,18 +13,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ gtk3 ]; nativeBuildInputs = [ gtk3 ];
propagatedBuildInputs = [ propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
hicolor-icon-theme
];
dontDropIconThemeCache = true; dontDropIconThemeCache = true;
installPhase = '' installPhase = ''
mkdir -p $out/share/icons mkdir -p $out/share/icons
cp -a Numix{,-Light} $out/share/icons/ cp -a Numix{,-Light} $out/share/icons/
'';
postFixup = ''
for theme in $out/share/icons/*; do for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme gtk-update-icon-cache $theme
done done