summary refs log tree commit diff
path: root/pkgs/tools/bluetooth
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-03-23 17:26:22 +0800
committerJan Tojnar <jtojnar@gmail.com>2022-03-25 15:02:50 +0100
commit5d92c840ed00d3a6b9f979e6bd14193d1b2f231d (patch)
tree9e10d836d87afb93ba4bad92ac460455130752fb /pkgs/tools/bluetooth
parent18a72ef69f0ea398d8619b4c0703899577860bdd (diff)
downloadnixpkgs-5d92c840ed00d3a6b9f979e6bd14193d1b2f231d.tar
nixpkgs-5d92c840ed00d3a6b9f979e6bd14193d1b2f231d.tar.gz
nixpkgs-5d92c840ed00d3a6b9f979e6bd14193d1b2f231d.tar.bz2
nixpkgs-5d92c840ed00d3a6b9f979e6bd14193d1b2f231d.tar.lz
nixpkgs-5d92c840ed00d3a6b9f979e6bd14193d1b2f231d.tar.xz
nixpkgs-5d92c840ed00d3a6b9f979e6bd14193d1b2f231d.tar.zst
nixpkgs-5d92c840ed00d3a6b9f979e6bd14193d1b2f231d.zip
blueberry: fix build with meson 0.61
Diffstat (limited to 'pkgs/tools/bluetooth')
-rw-r--r--pkgs/tools/bluetooth/blueberry/gnome-bluetooth.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/bluetooth/blueberry/gnome-bluetooth.nix b/pkgs/tools/bluetooth/blueberry/gnome-bluetooth.nix
index 07b77c04994..cf0028cf833 100644
--- a/pkgs/tools/bluetooth/blueberry/gnome-bluetooth.nix
+++ b/pkgs/tools/bluetooth/blueberry/gnome-bluetooth.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchurl
+, fetchpatch
 , gnome
 , meson
 , ninja
@@ -34,6 +35,15 @@ stdenv.mkDerivation rec {
     sha256 = "1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c";
   };
 
+  patches = [
+    # Fix build with meson 0.61.
+    # sendto/meson.build:24:5: ERROR: Function does not take positional arguments.
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/commit/755fd758f866d3a3f7ca482942beee749f13a91e.patch";
+      sha256 = "sha256-N0MJ0pYO411o2CTNZHWmEoG2m5TGUjR6YW6HSXHTR/A=";
+    })
+  ];
+
   nativeBuildInputs = [
     meson
     ninja