treewide: icons propagate hicolor-icon-theme, dontDropIconThemeCache

This commit is contained in:
worldofpeace
2019-09-18 22:47:29 +02:00
committed by Jan Tojnar
parent b0c2aea20b
commit b7ad6e1be5
20 changed files with 128 additions and 20 deletions
@@ -1,10 +1,14 @@
{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg }:
{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg, hicolor-icon-theme }:
mkDerivation {
name = "breeze-icons";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules gtk3 ];
buildInputs = [ qtsvg ];
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
outputs = [ "out" ]; # only runtime outputs
postInstall = ''
gtk-update-icon-cache "''${out:?}/share/icons/breeze"