about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-05-19 15:13:15 +0300
committerGitHub <noreply@github.com>2023-05-19 15:13:15 +0300
commit04e667b9e98d06c7858eaa347c20f9a1218d851e (patch)
tree6bcd478f62daebd0709cd2606df85698045231fb /pkgs/applications
parent9758484940bf5744a12514789b29f8c75ce72e32 (diff)
parent543ab3761b3ee9bdb572d7e9b71b07eb6a3bc2a2 (diff)
Merge pull request #232618 from Aleksanaa/swayosd
swayosd: add gtk wrapper
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/window-managers/sway/osd.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/sway/osd.nix b/pkgs/applications/window-managers/sway/osd.nix
index 6e4c57c4954f6..bc634d1b34be9 100644
--- a/pkgs/applications/window-managers/sway/osd.nix
+++ b/pkgs/applications/window-managers/sway/osd.nix
@@ -2,7 +2,7 @@
 , rustPlatform
 , fetchFromGitHub
 , pkg-config
-, gtk3
+, wrapGAppsHook
 , gtk-layer-shell
 , libpulseaudio
 }:
@@ -20,10 +20,12 @@ rustPlatform.buildRustPackage {
 
   cargoHash = "sha256-ZcgrUcRQTcEYhw2mpJDuYDz3I/u/2Q+O60ajXYRMeow=";
 
-  nativeBuildInputs = [ pkg-config ];
+  nativeBuildInputs = [
+    wrapGAppsHook
+    pkg-config
+  ];
 
   buildInputs = [
-    gtk3
     gtk-layer-shell
     libpulseaudio
   ];