Skip to content

Home

Turn Nix build logs into JUnit XML reports for your CI.

Features

  • Translate: Pipe any Nix build output into JUnit XML
  • Build: Run nix build and get JUnit XML in one command
  • Check: Discover and run all flake checks, producing a single JUnit report
  • CI-ready: Works with GitLab CI, Jenkins, GitHub Actions, and any JUnit-compatible system
  • Verbose logging: Control Nix log verbosity to capture the right level of detail

Quick Example

# Pipe nix build output into junix
nix build --log-format internal-json -v --print-build-logs --no-link .#pkg1 |& junix translate -o result.xml

# Or let junix drive the build
junix build .#pkg1 .#pkg2

# Or check all flake checks
junix check

Installation

pipx install junix
# or
uv tool install junix
# or
nix profile install gitlab:moduon/junix

Credits

Moduon logo

Junix is developed and maintained by Moduon. Need a professional Nix or Odoo partner? Contact us.