NixLabConnectionconnecting
ProjectsProject
package-sets/haskell /

horizon-dependent

publicguest

Dependent Haskell: the TharkunAB GHC 10.1 fork with -XDependentTypes, dependent-base and its proof plugins.

git clone git@nixlab.openfp.net:package-sets/haskell/horizon-dependent.git
84b6e1fa9024a20238c43a645b0ebcd96def388d/BUILD.md

Building horizon-dependent

This repository maintains a generated package set, with no local Haskell packages. horizon.vx owns package sources and policy. horizon.lock records their resolution.

Regenerate with released horizon-gen-nix after changing horizon.vx:

nix run 'git+https://nixlab.openfp.net/horizon/horizon-gen-nix?ref=refs/tags/0.32.0.0' -- update horizon.vx
nix flake lock
nix fmt

Commit the generated files and both locks. Do not edit generated files manually.

Check the set and build every package:

nix flake check -L --keep-going
nix build .#dependent-base .#dependent-proof-search .#dependent-obs-eq .#ghc

The compiler is the fork built by horizon-ghc on its dependent-haskell line, without profiled libraries or split sections. Upstream sources are pinned by commit hash until TharkunAB tag releases.