Configuration Reference
hx is configured through hx.toml, a TOML configuration file in your project root.
Configuration Files
| File | Purpose |
|---|---|
hx.toml | Project configuration |
hx.lock | Lockfile (auto-generated) |
.hx/ | Project-local cache/metadata |
Quick Reference
[project]
name = "my-project"
version = "0.1.0"
[toolchain]
ghc = "9.8.2"
cabal = "3.10.3.0"
[compiler]
backend = "ghc"
[build]
release = false
jobs = 4
ghc-options = ["-Wall"]
[test]
fail-fast = false
[fmt]
formatter = "ormolu"
[lint]
ignore = []Sections
- hx.toml Reference — Complete configuration file reference
- Lockfile — Understanding hx.lock
- Environment Variables — Environment variable configuration