Arch Linux PKGBUILD for Nyxt 4 with Electron renderer
root
nyxt-git
Arch Linux PKGBUILD for building Nyxt 4 from git with the Electron renderer.
What this is
This repository contains a working PKGBUILD for nyxt-git on Arch Linux.
It builds Nyxt from the master branch and uses the Electron renderer.
Why this exists
The upstream Nyxt repository currently has several issues that prevent a normal source build on Arch:
- broken submodule URLs
- an incompatible
named-readtablespin for current SBCL - a missing
mgl-paxdependency - Electron integration that bundles dependencies via npm instead of using the system package
This PKGBUILD applies the necessary fixes automatically.
Requirements
- Arch Linux
base-develdarcs(optional, if you want to clone this repo with darcs)
Build
darcs clone https://hub.darcs.net/stef204/nyxt-git
cd nyxt-git
makepkg -si
Or with an AUR helper:
paru -S nyxt-git
Dependencies
The package depends on:
- sbcl
- libfixposix
- nodejs
- enchant
- electron36.6-bin
electron36.6-bin is a pinned Electron version required by Nyxt's cl-electron library. It is available on the AUR.
Recommended clean build
To avoid embedding machine-specific build paths in the binary, build in a clean chroot with devtools or clean-chroot-manager. For example:
sudo ccm s /path/to/electron36.6-bin-36.6.0-1-x86_64.pkg.tar.zst
Notes
The build clones many Lisp submodules and compiles a large SBCL image. It can take some time, depending on hardware.
License
BSD-3-Clause. See the Nyxt source for details.