2026-04-21 14:19:00 +02:00

387 B

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