You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs module: take typst, typstyle and tinymist from nixpkgs-unstable; fix the typstyle description #1993
The docs capability module (nix/modules/docs.nix) ships typst and typstyle from the stable nixpkgs pin, which is a whole minor version behind upstream:
tool
stable pin
unstable pin
upstream
typst
0.14.2
0.15.1
0.15.1
typstyle
0.14.4
0.15.2
0.15.2
tinymist
(not shipped)
0.15.10
0.15.12
Typst language and layout still change between minor versions, so documents written for current Typst may not compile on the stable pin. Typst tooling is exactly the fast-moving class that fastMovers (flake.nix) exists for.
Scope:
Add typst, typstyle and tinymist to fastMovers, so every consumer of these attributes resolves the unstable versions: the docs module, the image's typstyle in imageTools and overlays.default.
Add tinymist (the Typst language server, for editor diagnostics and preview) to the docs module. typst, typstyle and tinymist must share a Typst minor version; add a test that enforces this.
Fix the docs:
README.md and docs/templates/README.md.j2 describe typstyle as "Typo and style checks". It is the Typst formatter.
Update the docs/NIX.md docs-module section (version source, tinymist) and the docs.nix header comment, which says the module tracks the stable pin.
Remove the downstream repository and project names from the docs.nix comment. devkit is public; say "document-oriented consumers".
CHANGELOG ## Unreleased: Changed (the toolchain source and versions, noting that consumers regenerate generated/ artifacts once) and Fixed (the docs).
Out of scope, a separate issue: Typst prek guards and a house-style template.
Activity
test(nix): enforce the unstable docs toolchain
fix(nix): track unstable Typst tooling in the docs module
docs(nix): explain the Typst 0.15 migration
fix(nix): track unstable Typst tooling in the docs module (#1995)
chore: release 1.19.0 (#2033)