A flake-parts
module to make Haskell development simpler with Nix.
To keep flake.nix
smaller (see examples below) and declarative (what vs how) by bringing a NixOS-like module system to flakes.
haskell-flake
simply uses callCabal2nix
and shellFor
under the hood.
- Simple
- Complex:
- Use
treefmt-nix
for providing linting features like auto-formatting and hlint checks. See haskell-template for example.