Commit bc6e6d98 authored by a-kenji's avatar a-kenji
Browse files

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

Use `nix-update-script` instead of `unstableGitUpdater`,
Since upstream is now tagging their releases.
parent 88a7f67e
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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";