git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #107050 from romildo/upd.luna-icons

luna-icons: 0.6 -> 0.9

commit9a49d640a5d56d68a3f0f8ed0262b800ebf38c5a authorSandro <sandro.jaeckel@gmail.com> dateTue 22 Dec 2020, 18:44 (6 years ago) parent81c729efecf626
1 file changed+8−2
pkgs/data/icons/luna-icons/default.nix+8−2
pkgs/data/icons/luna-icons/default.nix+8−2
@@ -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