Configuration Reference

hx is configured through hx.toml, a TOML configuration file in your project root.

Configuration Files

FilePurpose
hx.tomlProject configuration
hx.lockLockfile (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