From 2a70112ba148f9adda8076e3027b23a42b314a20 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 5 Jun 2026 11:06:00 +0100 Subject: fix(nix,meta): keep ghostty on pacman to fix missing OpenGL context ghostty is a GPU/OpenGL terminal. Nix-built GL apps on a non-NixOS host can't locate the system Mesa/DRI driver (FHS /usr/lib drivers don't match nix's search paths), so the nix-migrated ghostty failed to start with "missing OpenGL context". Move it back to meta/base.txt (pacman) so it links against system Mesa. Same caveat flagged for imv/wl-mirror/sparrow. --- meta/base.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/base.txt') diff --git a/meta/base.txt b/meta/base.txt index a92243a..8d82fb3 100644 --- a/meta/base.txt +++ b/meta/base.txt @@ -94,10 +94,14 @@ woff2-font-awesome # --- wayland session --- # Compositor (ships /usr/share/wayland-sessions/sway.desktop — login-manager # coupled, must stay on pacman). The user-leaf session tools — waybar, -# fuzzel, wofi, mako, swayidle, swayr, inhibridge, bemoji, ghostty, grim, +# fuzzel, wofi, mako, swayidle, swayr, inhibridge, bemoji, grim, # slurp, wf-recorder, wtype, wl-clipboard, cliphist, imv, wl-mirror, wob, # poweralertd, playerctl, pulsemixer — now come from nix/host.nix. sway +# ghostty: GPU/OpenGL terminal. Kept on pacman (not nix/host.nix) because +# nix-built GL apps on a non-NixOS host can't find the system Mesa/DRI +# driver and die with "missing OpenGL context". +ghostty xdg-desktop-portal-wlr xdg-desktop-portal-gtk qt5-wayland -- cgit v1.3.1