Skip to content

jonascarpay/template-haskell

Repository files navigation

Template for Haskell + Nix projects.

Nix-based Haskell template containing ghc, cabal, hoogle, ormolu, and haskell-language-server.

Usage

Clone/copy this repo to the intended package location, and run the wizard.

git clone https://github.com/jonascarpay/template-haskell <my-project>
cd <my-project>
./wizard.sh

You can enter the Nix shell with nix develop. Running cabal from inside this shell should use the packages that have been pre-built by Nix.

You can also build your project entirely with nix using nix build.

CI

Default CI consists of a Stack matrix, Cabal matrix, and Nix build. Don't forget to look at .github/workflows/CI.yaml and tweak this to your project.

About

batteries-included nix-based haskell project template

Topics

Resources

License

Stars

65 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors