From bc6e6d9847423d78dcc25d507e5108d9a6e30351 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 17 Oct 2024 17:17:54 +0200 Subject: [PATCH] cosmic-icons: use nix-update-script instead of unstableGitUpdater Use `nix-update-script` instead of `unstableGitUpdater`, Since upstream is now tagging their releases. --- pkgs/by-name/co/cosmic-icons/package.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/co/cosmic-icons/package.nix b/pkgs/by-name/co/cosmic-icons/package.nix index 23031d56b9c5..3857050e8cab 100644 --- a/pkgs/by-name/co/cosmic-icons/package.nix +++ b/pkgs/by-name/co/cosmic-icons/package.nix @@ -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";