diff --git a/pkgs/by-name/wa/waybar-mpris/package.nix b/pkgs/by-name/wa/waybar-mpris/package.nix index adbe513b9b44..93f957db33dd 100644 --- a/pkgs/by-name/wa/waybar-mpris/package.nix +++ b/pkgs/by-name/wa/waybar-mpris/package.nix @@ -1,12 +1,13 @@ -{ lib -, fetchgit -, buildGoModule -, unstableGitUpdater +{ + lib, + fetchgit, + buildGoModule, + nix-update-script, }: buildGoModule { pname = "waybar-mpris"; - version = "unstable-2022-01-27"; + version = "0.1.0-unstable-2022-01-27"; src = fetchgit { url = "https://git.hrfee.pw/hrfee/waybar-mpris"; @@ -21,7 +22,7 @@ buildGoModule { "-w" ]; - passthru.updateScript = unstableGitUpdater { }; + passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; meta = with lib; { description = "Waybar component/utility for displaying and controlling MPRIS2 compliant media players individually";