From 437a8392570f9df3ae4eb9ca3b7decaa24bc0bd2 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 17 Nov 2019 12:23:49 +0100 Subject: [PATCH] numix-icon-theme-circle: Fix dangling symlinks --- pkgs/data/icons/numix-icon-theme-circle/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/data/icons/numix-icon-theme-circle/default.nix b/pkgs/data/icons/numix-icon-theme-circle/default.nix index 5658f20c7446..ed4b2581e850 100644 --- a/pkgs/data/icons/numix-icon-theme-circle/default.nix +++ b/pkgs/data/icons/numix-icon-theme-circle/default.nix @@ -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