mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
breeze-icons: generate icon cache
Fixes #21345 by generating the icon cache when the theme is installed.
This commit is contained in:
parent
96b4ed637b
commit
0d06192c4f
@ -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"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user