Merge pull request #27458 from ttuegel/bugfix/kde-icon-cache

breeze-icons: generate icon cache
This commit is contained in:
Thomas Tuegel 2017-07-18 06:17:15 -05:00 committed by GitHub
commit 827b0e1b81

View file

@ -1,9 +1,13 @@
{ mkDerivation, lib, extra-cmake-modules, qtsvg }:
{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg }:
mkDerivation {
name = "breeze-icons";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
nativeBuildInputs = [ extra-cmake-modules gtk3 ];
buildInputs = [ qtsvg ];
outputs = [ "out" ]; # only runtime outputs
postInstall = ''
gtk-update-icon-cache "''${out:?}/share/icons/breeze"
gtk-update-icon-cache "''${out:?}/share/icons/breeze-dark"
'';
}