HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulehorizon-config-shell-0.12.1GHC2024

Horizon.Config.Cabal2Nix

Turn a HaskellPackage pin (plus the set-wide Modifiers and the Rendering the set is rendered against) into cabal2nix Options. Ported from horizon-gen-nix, retargeted onto Horizon.Config.Schema (no horizon-spec, no dhall) and onto set-level modifiers: build policy is a neighbourhood property of the whole set, so the same Modifiers apply to every pin rather than being read off each one. A local package, the repository's own code, is built by its own policy (localPolicy).

  • 1 type
  • 4 values

The platform a set that declares none is rendered for. A constant, not the machine running the generator, so the same config renders the same set on any machine.