mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user