Horizon Haskell: Hydra
horizon-hydra is a Package Set targetting hydra and all dependencies required to interact with it.
The following things are always expected to be here:
- cardano-api
- cardano-cli
- cardano-node
- hydra-node
- hydra-tui
Updating the Package Set
Generating the nix expressions for the package set is a two step process.
-
Edit the
horizon.dhall
file. -
Run
nix run develop/#horizon-gen-nix
You can edit the horizon.dhall
file in one of two ways: manually using a text
editor, or programatically using horizon-shell
.
Tweaking & Hacking
If you need to do additional manual overrides to the nix code, such as
addPkgconfigDepends
, edit the configuration.nix
overlay, which is
applied over the generated derivations.
Feedback
To build all packages, run
nix run develop/#feedback -- build
Hoogle
To run a hoogle server containing the entire package set. Do
nix run .#run-hoogle