Nix-based Haskell template containing ghc, cabal, hoogle, ormolu, and haskell-language-server.
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.shYou 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.
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.