Skip to content
Snippets Groups Projects
README.md 711 B
Newer Older
# Haskell Horizon Platform

[horizon-haskell.net](https://horizon-haskell.net).

Horizon is a haskell package set targetting new builds of GHC.

## Updating the package set

Daniel Firth's avatar
Daniel Firth committed
The package set is generated from the `horizon.dhall` using the following command:
Daniel Firth's avatar
Daniel Firth committed
nix run .#horizon-gen-nix make-package-set
Daniel Firth's avatar
Daniel Firth committed
This will generate both the `pkgs` folder and the `initial-packages.nix`. If
you want to regenerate a particular package in `pkgs`, delete that file from
`pkgs`. To regenerate the entire package set from scratch, delete the `pkgs`
folder.

If you need to do additional manual overrides to the nix code, such as
`addPkgconfigDepends`, edit the `configuration.nix` overlay, which is applied
Daniel Firth's avatar
Daniel Firth committed
afterwards.