iconpack-jade: add missing parent icon themes

This commit is contained in:
José Romildo Malaquias 2020-04-17 20:55:31 -03:00
parent 580b886a06
commit 4136a5f137

View file

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