diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-16 09:47:57 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-19 21:29:33 -0300 |
commit | 24f9d150bc75660f5bb215e09a588f6163f6f5d7 (patch) | |
tree | cf35f80813a5c13f95f380af6310c8508b1198a9 /pkgs/data/icons | |
parent | 06f4e69de0a26143f3e4bf7f58815627a4e193e4 (diff) |
numix-icon-theme-square: add missing parent icon themes
Also: - add runHook calls - move postFixup actions to installPhase
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/numix-icon-theme-square/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/data/icons/numix-icon-theme-square/default.nix b/pkgs/data/icons/numix-icon-theme-square/default.nix index 92a3ce9091a5b..9cebdc331065d 100644 --- a/pkgs/data/icons/numix-icon-theme-square/default.nix +++ b/pkgs/data/icons/numix-icon-theme-square/default.nix @@ -13,18 +13,16 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ gtk3 ]; - buildInputs = [ numix-icon-theme ]; - - propagatedBuildInputs = [ hicolor-icon-theme ]; + propagatedBuildInputs = [ numix-icon-theme hicolor-icon-theme ]; dontDropIconThemeCache = true; installPhase = '' + runHook preInstall + mkdir -p $out/share/icons - cp -a Numix-Square{,-Light} $out/share/icons/ - ''; + cp -a Numix-Square{,-Light} $out/share/icons - postFixup = '' for panel in $out/share/icons/*/*/panel; do ln -sf $(realpath ${numix-icon-theme}/share/icons/Numix/16/$(readlink $panel)) $panel done @@ -32,6 +30,8 @@ stdenv.mkDerivation rec { for theme in $out/share/icons/*; do gtk-update-icon-cache $theme done + + runHook postInstall ''; meta = with stdenv.lib; { |