Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 25 lines 497 B view raw
1{ 2 mkDerivation, 3 extra-cmake-modules, 4 gtk3, 5 qtsvg, 6 hicolor-icon-theme, 7}: 8 9mkDerivation { 10 pname = "breeze-icons"; 11 nativeBuildInputs = [ 12 extra-cmake-modules 13 gtk3 14 ]; 15 buildInputs = [ qtsvg ]; 16 propagatedBuildInputs = [ 17 hicolor-icon-theme 18 ]; 19 dontDropIconThemeCache = true; 20 outputs = [ "out" ]; # only runtime outputs 21 postInstall = '' 22 gtk-update-icon-cache "''${out:?}/share/icons/breeze" 23 gtk-update-icon-cache "''${out:?}/share/icons/breeze-dark" 24 ''; 25}