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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user