nix-playgraound/06-haskell-shellfor

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:

nix develop
cabal run
cabal test

nix build
./result/bin/mini-shellfor

nix run
nix flake check