1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/kde-frameworks/breeze-icons.nix
Thomas Tuegel 0d06192c4f
breeze-icons: generate icon cache
Fixes #21345 by generating the icon cache when the theme is installed.
2017-07-16 07:42:48 -05:00

14 lines
428 B
Nix

{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg }:
mkDerivation {
name = "breeze-icons";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
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"
'';
}