Skip to content

Standardize lts/ghc-9.8.x structure

Summary

This MR standardizes the lts/ghc-9.8.x branch to use a modular nix/ folder structure with flake-parts import-tree.

Changes

  • Renamed flakeModules/ directory to nix/
  • Migrated from horizon-flake-parts to standard flake-parts configuration
  • Created/updated flake-parts modules:
    • nix/systems.nix - Dynamic system configuration via horizon-supported-systems v1.1.0
    • nix/ci.nix - CI configuration using gitlab-ci-omnix v0.4.0
    • nix/ghc.nix - GHC 9.8.4 build from source using ghc-common-hadrian v0.4.1
    • nix/treefmt.nix - Formatting tools (deadnix, nixpkgs-fmt, statix)
  • Updated flake.nix to use import-tree pattern
  • Use nixos-25.05 for stable ghc963Binary boot packages

Validation

All local checks passed:

  • nix flake lock
  • nix fmt
  • om ci run (GHC build in progress)

Dependencies

This MR brings the branch in line with 9.6.x, 9.12.x, and 9.14.x which already use this pattern.

Merge request reports