Skip to content

Commit c3db199

Browse files
authored
waybar-mpris: fix updateScript; unstable-2022-01-27 -> 0.1.0-unstable-2022-01-27 (#350499)
2 parents 2199bae + 447e1d0 commit c3db199

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pkgs/by-name/wa/waybar-mpris/package.nix

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
{ lib
2-
, fetchgit
3-
, buildGoModule
4-
, unstableGitUpdater
1+
{
2+
lib,
3+
fetchgit,
4+
buildGoModule,
5+
nix-update-script,
56
}:
67

78
buildGoModule {
89
pname = "waybar-mpris";
9-
version = "unstable-2022-01-27";
10+
version = "0.1.0-unstable-2022-01-27";
1011

1112
src = fetchgit {
1213
url = "https://git.hrfee.pw/hrfee/waybar-mpris";
@@ -21,7 +22,7 @@ buildGoModule {
2122
"-w"
2223
];
2324

24-
passthru.updateScript = unstableGitUpdater { };
25+
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
2526

2627
meta = with lib; {
2728
description = "Waybar component/utility for displaying and controlling MPRIS2 compliant media players individually";

0 commit comments

Comments
 (0)