HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulehorizon-config-shell-0.12.0GHC2024

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).

Synopsis

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.