mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
devshell: add deps that allow GTK to load SVG resources
GTK dynamically loads librsvg when it needs to convert a SVG-only icon (or any other SVG-only resource) for display. This PR adds the libraries that GTK needs so that running programs from within the developer shell can display those SVG resources.
This commit is contained in:
@ -69,6 +69,10 @@
|
||||
zon2nix,
|
||||
system,
|
||||
pkgs,
|
||||
# needed by GTK for loading SVG icons while running from within the
|
||||
# developer shell
|
||||
glycin-loaders,
|
||||
librsvg,
|
||||
}: let
|
||||
# See package.nix. Keep in sync.
|
||||
ld_library_path = import ./build-support/ld-library-path.nix {
|
||||
@ -174,6 +178,11 @@ in
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
|
||||
# needed by GTK for loading SVG icons while running from within the
|
||||
# developer shell
|
||||
glycin-loaders
|
||||
librsvg
|
||||
];
|
||||
|
||||
# This should be set onto the rpath of the ghostty binary if you want
|
||||
|
Reference in New Issue
Block a user