utdemir / hs-nix-template

A Haskell project template that uses Nix and comes with cabal-install, ghcid, ormolu, haskell-language-server and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add the 'executable' section conditionally

utdemir opened this issue · comments

Currently hs-nix-template generates a package with a library, executable and a test-suite.

In my experience, users usually create a library than an executable. So, hs-nix-template should prompt the user if an executable section is necessary, and only conditionally create the section and the related app/ directory.