Since the primary sources of ConTeXt only offer the latest versions of the ConTeXt distribution for downloading, this makes it hard to consume in a reproducible way in Nix. This repository mirrors and version-controls distributions from ConTeXt.
If you have Nix installed with Flakes support,
you can run nix build github:elohmeier/context-bin
to download and build
the ConTeXt distribution, providing the context
, luametatex
, luatex
and
mtxrun
binaries.
You can run nix run .#update-context
on a local repo checkout.