NixLabConnectionconnecting
ProjectsProject
horizon /

dependent-nixlab-examples

publicguest

Worked examples of where dependent types help NixLab.

git clone git@nixlab.openfp.net:horizon/dependent-nixlab-examples.git
571e42096581aca5754d235d36ad79f1f629eb05nix/configuration.nix
_local: {
  horizon.systems.supported.enable = true;
  horizon.formatting.enable = true;
  horizon.formatting.excludes = [
    "nix/horizon/*"
    "horizon.lock"
    "cabal.project"
    # ormolu and hlint parse with stock GHC, which has no DependentTypes.
    "*.hs"
  ];
}