We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 449fa04 commit 8d76e4cCopy full SHA for 8d76e4c
pkgs/by-name/mp/mpd-mpris/package.nix
@@ -2,6 +2,7 @@
2
lib,
3
buildGoModule,
4
fetchFromGitHub,
5
+ fetchpatch,
6
}:
7
8
buildGoModule (finalAttrs: {
@@ -19,6 +20,13 @@ buildGoModule (finalAttrs: {
19
20
21
subPackages = [ "cmd/mpd-mpris" ];
22
23
+ patches = [
24
+ (fetchpatch {
25
+ url = "https://github.com/natsukagami/mpd-mpris/commit/1591f15548aed0f9741d723f24fb505cb24fafe8.patch";
26
+ hash = "sha256-6ZqR4woKiIjwLxyafmidTM8eBXtvBzKNXZvtS1+KKKI=";
27
+ })
28
+ ];
29
+
30
postPatch = ''
31
substituteInPlace services/mpd-mpris.service --replace-fail "ExecStart=" "ExecStart=$out/bin/"
32
'';
0 commit comments