mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
0d06192c4f
Fixes #21345 by generating the icon cache when the theme is installed.
14 lines
428 B
Nix
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"
|
|
'';
|
|
}
|