410 B
410 B
05-haskell
This example shows a small Haskell project packaged with Nix flakes.
It includes:
- a library module under
src/, - an executable under
app/, - a test suite under
test/, and - a dev shell with GHC,
cabal-install, and Haskell Language Server.
Useful commands:
nix develop
cabal run
cabal test
nix build
./result/bin/mini-haskell flakes
nix run . -- flakes
nix flake check