about summary refs log tree commit diff
path: root/pkgs/applications/audio/gnome-podcasts
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-03-23 19:10:59 +0800
committerBobby Rong <rjl931189261@126.com>2022-03-23 19:10:59 +0800
commitadc5c392f46eeed823493340fa17457cfaf4ffbf (patch)
tree8c50f8c1dccbc50edf31a64f99bbc0477dd97990 /pkgs/applications/audio/gnome-podcasts
parent9bc841fec1c0e8b9772afa29f934d2c7ce57da8e (diff)
gnome-podcasts: fix build with meson 0.61
Diffstat (limited to 'pkgs/applications/audio/gnome-podcasts')
-rw-r--r--pkgs/applications/audio/gnome-podcasts/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/audio/gnome-podcasts/default.nix b/pkgs/applications/audio/gnome-podcasts/default.nix
index 5a4876a98ddff..ec927bdc5b034 100644
--- a/pkgs/applications/audio/gnome-podcasts/default.nix
+++ b/pkgs/applications/audio/gnome-podcasts/default.nix
@@ -2,6 +2,7 @@
 , lib
 , rustPlatform
 , fetchFromGitLab
+, fetchpatch
 , meson
 , ninja
 , gettext
@@ -31,6 +32,16 @@ stdenv.mkDerivation rec {
     sha256 = "00vy1qkkpn76jdpybsq9qp8s6fh1ih10j73p2x43sl97m5g8944h";
   };
 
+  patches = [
+    # Fix build with meson 0.61, can be removed on next release.
+    # podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments.
+    # podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments.
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/World/podcasts/-/commit/6614bb62ecbec7c3b18ea7fe44beb50fe7942b27.patch";
+      sha256 = "3TVKFV9V6Ofdajgkdc+j+yxsU21C4JWSc6GjLExSM00=";
+    })
+  ];
+
   cargoDeps = rustPlatform.fetchCargoTarball {
     inherit src;
     name = "${pname}-${version}";