Builds the desktop app and the CLI from source with `nix build`, and offers
packages, an overlay, `nix run`, a dev shell and a formatting check.
- Cargo.lock drives the dependencies (git sources via allowBuiltinFetchGit).
- Installs the desktop file, hicolor icons, MIME types and AppStream metadata
from packaging/linux/, validated at build time.
- Wraps the binaries so the dlopen'd libraries (libwayland-client,
libxkbcommon(-x11), X11, Vulkan loader, libEGL, libdbus for the portal file
chooser) are found on NixOS: native Wayland on GNOME and Hyprland, X11 as
fallback.
- Fonts from storytold/craft-fonts are pinned to the release workflow's revision
where the app embeds them.
- doCheck is off (the suite needs corpora and a GPU); `nix build` was verified.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>