Here are some gists that demonstrate how to wrap a Haskell project with Nix, without changing the Haskell.
A handful of cases are covered:
- simple package
- package with custom Setup and external helper programs
- a repository/project containing multiple packages