lol

Merge pull request #207225 from romildo/upd.fluent-icon-theme

fluent-icon-theme: add optional argument for installing all colors

authored by

José Romildo Malaquias and committed by
GitHub
85c92fe7 879075cb

+4 -2
+4 -2
pkgs/data/icons/fluent-icon-theme/default.nix
··· 6 6 , jdupes 7 7 , roundedIcons ? false 8 8 , blackPanelIcons ? false 9 + , allColorVariants ? false 9 10 , colorVariants ? [ ] 10 11 , 11 12 }: 12 13 let pname = "Fluent-icon-theme"; 13 14 in 14 - lib.checkListOfEnum "${pname}: available color variants" [ "standard" "green" "grey" "orange" "pink" "purple" "red" "yellow" "teal" "all" ] colorVariants 15 + lib.checkListOfEnum "${pname}: available color variants" [ "standard" "green" "grey" "orange" "pink" "purple" "red" "yellow" "teal" ] colorVariants 15 16 16 17 stdenvNoCC.mkDerivation rec { 17 18 inherit pname; ··· 43 44 ./install.sh --dest $out/share/icons \ 44 45 --name Fluent \ 45 46 ${builtins.toString colorVariants} \ 47 + ${lib.optionalString allColorVariants "--all"} \ 46 48 ${lib.optionalString roundedIcons "--round"} \ 47 49 ${lib.optionalString blackPanelIcons "--black"} 48 50 49 - jdupes --link-soft --recurse $out/share 51 + jdupes --quiet --link-soft --recurse $out/share 50 52 51 53 runHook postInstall 52 54 '';