cosmic-icons: use nix-update-script instead of unstableGitUpdater

Use `nix-update-script` instead of `unstableGitUpdater`,
Since upstream is now tagging their releases.
This commit is contained in:
a-kenji
2024-10-17 17:17:54 +02:00
parent 88a7f67e86
commit bc6e6d9847
+7 -2
View File
@@ -4,7 +4,7 @@
, just
, pop-icon-theme
, hicolor-icon-theme
, unstableGitUpdater
, nix-update-script
}:
stdenvNoCC.mkDerivation rec {
pname = "cosmic-icons";
@@ -32,7 +32,12 @@ stdenvNoCC.mkDerivation rec {
dontDropIconThemeCache = true;
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"epoch-(.*)"
];
};
meta = with lib; {
description = "System76 Cosmic icon theme for Linux";