24 lines
387 B
Markdown
24 lines
387 B
Markdown
# 06-haskell-shellfor
|
|
|
|
This example shows a Haskell dev shell built with `shellFor`.
|
|
|
|
It includes:
|
|
|
|
- a local package added to the Haskell package set,
|
|
- a dev shell derived from that package with `shellFor`, and
|
|
- a small test suite run by `nix flake check`.
|
|
|
|
Useful commands:
|
|
|
|
```bash
|
|
nix develop
|
|
cabal run
|
|
cabal test
|
|
|
|
nix build
|
|
./result/bin/mini-shellfor
|
|
|
|
nix run
|
|
nix flake check
|
|
```
|