summary refs log tree commit diff
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-06-29 17:53:10 +0800
committerBobby Rong <rjl931189261@126.com>2023-06-29 17:53:51 +0800
commit2ea5615f89aeabdea265854d89a0fe9df68be853 (patch)
treedb9b80f25c3d4e4df6fd9df1fc664d23450078c3
parent7572bbce6021eaa389960e2b016ad29e2a89ba03 (diff)
downloadnixpkgs-2ea5615f89aeabdea265854d89a0fe9df68be853.tar
nixpkgs-2ea5615f89aeabdea265854d89a0fe9df68be853.tar.gz
nixpkgs-2ea5615f89aeabdea265854d89a0fe9df68be853.tar.bz2
nixpkgs-2ea5615f89aeabdea265854d89a0fe9df68be853.tar.lz
nixpkgs-2ea5615f89aeabdea265854d89a0fe9df68be853.tar.xz
nixpkgs-2ea5615f89aeabdea265854d89a0fe9df68be853.tar.zst
nixpkgs-2ea5615f89aeabdea265854d89a0fe9df68be853.zip
pantheon.wingpanel-indicator-bluetooth: Backport gresource path patch
To fix missing icon on wingpanel.
-rw-r--r--pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
index c9e20879ec5..8f00b01ee33 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , nix-update-script
 , pkg-config
 , meson
@@ -27,6 +28,15 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-t8Sn8NQW7WueinPkJdn8hd0oCJ3uFeRJliggSFHoaZU=";
   };
 
+  patches = [
+    # Prevent a race that skips automatic resource loading
+    # https://github.com/elementary/wingpanel-indicator-bluetooth/issues/203
+    (fetchpatch {
+      url = "https://github.com/elementary/wingpanel-indicator-bluetooth/commit/4f9237c0cb1152a696ccdd2a2fc83fc706f54d62.patch";
+      sha256 = "sha256-fUnqw0EAWvtpoo2wI++2B5kXNqQPxnsjPbZ7O30lXBI=";
+    })
+  ];
+
   nativeBuildInputs = [
     glib # for glib-compile-schemas
     libxml2