$ nix registry add haskell-nix-templates github:shin-sakata/haskell-nix-templates
$ nix registry remove haskell-nix-templates
$ nix flake new my-project -t haskell-nix-templates
This example is for specifying the GHC version and package manager.
$ nix flake new my-project -t haskell-nix-templates#{cabal or stack}-ghc{version}
Cabal or Stack \ GHC version | 8.10.7 | 9.0.2 | 9.2.2 |
---|---|---|---|
Cabal | ✅ | ✅ | ✅ |
Stack | 🙅♀️ | 🙅♀️ | 🙅♀️ |
We will support various baajyon ghc and stacks and cabal.