summaryrefslogtreecommitdiff
path: root/nix/devShell.nix
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2025-07-23 15:42:51 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2025-07-23 15:48:00 -0500
commit3dc45fcd55914dce9daaf9187dcf887b115cb533 (patch)
tree9460cdbc21c8be43779297bd82782d528e55fff0 /nix/devShell.nix
parentf7424c8a76145db3f6e5bd9ace440dbcd098982b (diff)
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.
Diffstat (limited to 'nix/devShell.nix')
-rw-r--r--nix/devShell.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/devShell.nix b/nix/devShell.nix
index 653c0c0b0..7b78539f7 100644
--- a/nix/devShell.nix
+++ b/nix/devShell.nix
@@ -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