Built on Pi — Thu 16 July 2026

Yesterday, as part of some setup for new projects, I wanted to make an environment for building HTML with haunt on Raspberry Pi OS. Previously was using Macs to do this task for this blog, and used brew for package management. The lowest friction would be to use guix which I have tried on Pi OS, but it's a little heavy, particularly for machines running out of SD cards.

To allow markdown for content, haunt uses a parsing library guile-commonmark, which I decided to build from source, after the basic guile language requirements had been installed. Because of my own relative newbieness (nubinessity?) around haunt this landed me in a library navigation maze of twisty passages, all alike. (See my end-of-day Mastodon post about this.) Turns out, a cup of tea and a night's sleep does supply a solution—at least a sidestep.

Turns out Pi OS does have guile-commonmark packaged already-doh! Hence this post done on the Pi. This doesn't mean that I shouldn't get to grips with guile library packaging, as I want to use the recent updates to guile-commonmark made by the hero creator of Haunt, David Thompson.

So the brief procedure for installing haunt on Pi OS is to install the packages:

guile-3.0 - GNU extension language and Scheme interpreter
guile-3.0-dev - Development files for Guile 3.0
guile-3.0-doc - Documentation for Guile 3.0
guile-3.0-libs - Core Guile libraries
guile-commonmark - module to parse CommonMark documents into SXML

…and then to follow the procedure on the haunt website.