@@ -8,13 +8,13 @@
88
99stdenv.mkDerivation rec {
1010 pname = "luna-icons";
11− version = "0.6";
11+ version = "0.9";
1212
1313 src = fetchFromGitHub {
1414 owner = "darkomarko42";
1515 repo = pname;
1616 rev = version;
17− sha256 = "1lm7ws7in8cjjl38c7xw67jr42d717kk5kkfac7rprk0z7pb104l";
17+ sha256 = "1pwbmw20kzlxnwln92nxq7f5s1xwbpv6j7il7jxymlw0y31rl281";
1818 };
1919
2020 nativeBuildInputs = [
@@ -35,6 +35,12 @@ stdenv.mkDerivation rec {
3535 mkdir -p $out/share/icons
3636 cp -a Luna* $out/share/icons
3737
38+ # remove files with spaces in the name, otherwise
39+ # gtk-update-icon-cache fails with the message "The generated cache
40+ # was invalid"
41+ # https://github.com/darkomarko42/Luna-Icons/issues/2
42+ rm "$out/share/icons/Luna/scalable/apps/yast-checkmedia (copia).svg"
43+
3844 for theme in $out/share/icons/*; do
3945 gtk-update-icon-cache "$theme"
4046 done