From 82f102224f48b85b88d248ad4e055debb43634f9 Mon Sep 17 00:00:00 2001 From: Denys Pavlov Date: Sat, 16 Dec 2023 13:04:54 -0500 Subject: [PATCH] nix: use wrapGAppsHook4 to package ghostty `wrapGAppsHook4` is recommended by nixpkgs for packaging GTK4 applications.[1] It ensures `XDG_DATA_DIRS` includes the nescessary icons and gsettings schemas. --- nix/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/package.nix b/nix/package.nix index 734aa3b85..fccb0a143 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -17,6 +17,8 @@ glib, gtk4, libadwaita, + wrapGAppsHook4, + gsettings-desktop-schemas, git, ncurses, pkg-config, @@ -89,6 +91,7 @@ in ncurses pkg-config zig012Hook + wrapGAppsHook4 ]; buildInputs = @@ -113,6 +116,7 @@ in libadwaita gtk4 glib + gsettings-desktop-schemas ]; dontConfigure = true;