From 227008f8401e111a0bc784c846ed870bedfaec13 Mon Sep 17 00:00:00 2001 From: Leah Amelia Chen Date: Sat, 14 Mar 2026 00:49:40 +0800 Subject: [PATCH] ghostty: add libxml2 for xmllint Somehow I've always managed to miss this, but Ghostty does use xmllint to minify (`xml-stripblanks`) on the generated GTK .ui files in the build process. I assume this was never caught as it wasn't mission- critical and nor did it stop the build process entirely. --- pkgs/by-name/gh/ghostty/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/gh/ghostty/package.nix b/pkgs/by-name/gh/ghostty/package.nix index b9d7105949de..f6760feaf14b 100644 --- a/pkgs/by-name/gh/ghostty/package.nix +++ b/pkgs/by-name/gh/ghostty/package.nix @@ -11,9 +11,10 @@ glslang, gtk4-layer-shell, harfbuzz, + libadwaita, libGL, libx11, - libadwaita, + libxml2, ncurses, nixosTests, oniguruma, @@ -64,6 +65,7 @@ stdenv.mkDerivation (finalAttrs: { glib # Required for `glib-compile-schemas` wrapGAppsHook4 blueprint-compiler + libxml2 # `xmllint` ]; buildInputs = [