mpd-mpris: apply upstream fix (#484263)

This commit is contained in:
Naïm Camille Favier
2026-02-07 15:18:59 +00:00
committed by GitHub
+8
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
fetchpatch,
}:
buildGoModule (finalAttrs: {
@@ -19,6 +20,13 @@ buildGoModule (finalAttrs: {
subPackages = [ "cmd/mpd-mpris" ];
patches = [
(fetchpatch {
url = "https://github.com/natsukagami/mpd-mpris/commit/1591f15548aed0f9741d723f24fb505cb24fafe8.patch";
hash = "sha256-6ZqR4woKiIjwLxyafmidTM8eBXtvBzKNXZvtS1+KKKI=";
})
];
postPatch = ''
substituteInPlace services/mpd-mpris.service --replace-fail "ExecStart=" "ExecStart=$out/bin/"
'';