Skip to content

Commit

Permalink
Merge pull request #73549 from Flakebi/numix-icon-theme
Browse files Browse the repository at this point in the history
numix-icon-theme-circle: Fix dangling symlinks
  • Loading branch information
romildo committed Nov 19, 2019
2 parents 4f971bb + d5c20b3 commit 62d0993
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/data/icons/numix-icon-theme-circle/default.nix
Expand Up @@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
'';

postFixup = ''
for panel in $out/share/icons/*/*/panel; do
ln -sf $(realpath ${numix-icon-theme}/share/icons/Numix/16/$(readlink $panel)) $panel
done
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
Expand Down
4 changes: 4 additions & 0 deletions pkgs/data/icons/numix-icon-theme-square/default.nix
Expand Up @@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
'';

postFixup = ''
for panel in $out/share/icons/*/*/panel; do
ln -sf $(realpath ${numix-icon-theme}/share/icons/Numix/16/$(readlink $panel)) $panel
done
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
Expand Down

0 comments on commit 62d0993

Please sign in to comment.