A template for incremental Haskell builds using Nix
https://github.com/juspay/haskell-incremental-build-template.git
[!IMPORTANT]
This minimal template focuses solely on incremental Haskell build configuration with Nix.
For a more batteries-included Haskell Nix template, combine it with
[!IMPORTANT]
Requires GHC >= 9.4
A template for incremental Haskell builds using Nix, leveraging nixpkgsโs Haskell incremental build system and [haskell-flake]
For an existing Haskell project already using [haskell-flake], integrate this template by:
prev flake input (see flake.nix).git clone https://github.com/juspay/haskell-incremental-build-template && cd haskell-incremental-build-templatenix build .#default -LExample.hs and Main.hs modules.Main.hs to simulate a change: echo >> src/Main.hsnix build .#default --override-input prev github:juspay/haskell-incremental-build-template -LMain.hs is rebuilt.