summary refs log tree commit diff
path: root/pkgs/applications/audio/mpc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/mpc/default.nix')
-rw-r--r--pkgs/applications/audio/mpc/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mpc/default.nix b/pkgs/applications/audio/mpc/default.nix
index 8fdd05776c9..cebf08f1908 100644
--- a/pkgs/applications/audio/mpc/default.nix
+++ b/pkgs/applications/audio/mpc/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , installShellFiles
 , libiconv
 , libmpdclient
@@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
     hash = "sha256-2FjYBfak0IjibuU+CNQ0y9Ei8hTZhynS/BK2DNerhVw=";
   };
 
+  patches = [
+    # fix the build with meson 0.60 (https://github.com/MusicPlayerDaemon/mpc/pull/76)
+    (fetchpatch {
+      url = "https://github.com/MusicPlayerDaemon/mpc/commit/b656ca4b6c2a0d5b6cebd7f7daa679352f664e0e.patch";
+      sha256 = "sha256-fjjSlCKxgkz7Em08CaK7+JAzl8YTzLcpGGMz2HJlsVw=";
+    })
+  ];
+
   buildInputs = [
     libmpdclient
   ]