numix-icon-theme-square: Fix dangling symlinks

This commit is contained in:
Flakebi 2019-11-19 11:11:54 +01:00
parent 437a839257
commit d5c20b374b
No known key found for this signature in database
GPG Key ID: 38E7ED984D7DCD02

View File

@ -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