mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
numix-icon-theme: add missing parent icon themes
This commit is contained in:
parent
15f823ebd6
commit
bc895be32c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
|
{ stdenv, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "numix-icon-theme";
|
pname = "numix-icon-theme";
|
||||||
@ -13,18 +13,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ gtk3 ];
|
nativeBuildInputs = [ gtk3 ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
|
||||||
hicolor-icon-theme
|
|
||||||
];
|
|
||||||
|
|
||||||
dontDropIconThemeCache = true;
|
dontDropIconThemeCache = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/icons
|
mkdir -p $out/share/icons
|
||||||
cp -a Numix{,-Light} $out/share/icons/
|
cp -a Numix{,-Light} $out/share/icons/
|
||||||
'';
|
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
for theme in $out/share/icons/*; do
|
for theme in $out/share/icons/*; do
|
||||||
gtk-update-icon-cache $theme
|
gtk-update-icon-cache $theme
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user