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. --- nix/host.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nix/host.nix') diff --git a/nix/host.nix b/nix/host.nix index 64a0555..09c3df7 100644 --- a/nix/host.nix +++ b/nix/host.nix @@ -93,8 +93,12 @@ in playerctl # MPRIS over session bus pulsemixer # TUI for PipeWire/PulseAudio - # ── Terminal ───────────────────────────────────────────────────────────── - ghostty + # NOTE: ghostty is intentionally NOT here — it is a GPU/OpenGL terminal. + # Nix-built GL apps on a non-NixOS host can't locate the system Mesa/DRI + # driver (the FHS /usr/lib drivers don't match nix's search paths) and + # fail at startup with "missing OpenGL context". It stays on pacman + # (meta/base.txt) so it links against the system Mesa. The same caveat + # applies to other GL/EGL apps (imv, wl-mirror, sparrow) — see base.txt. # ── General CLIs migrated off pacman ────────────────────────────────────── qrencode -- cgit v1.3.1