diff --git a/flake.nix b/flake.nix index ed753d4..8bb8906 100644 --- a/flake.nix +++ b/flake.nix @@ -34,6 +34,8 @@ buildInputs = with pkgs; [ haskellPackages.haskell-language-server # you must build it with your ghc to work ghcid + hlint + ghc cabal-install ]; inputsFrom = diff --git a/importer/Main.hs b/importer/Main.hs index 12db0fe..93520d4 100644 --- a/importer/Main.hs +++ b/importer/Main.hs @@ -1,5 +1,3 @@ -module Main where - import Options.Applicative import qualified Data.ByteString.Lazy as BSL diff --git a/quotes-api.cabal b/quotes-api.cabal index 573c56f..38635fa 100644 --- a/quotes-api.cabal +++ b/quotes-api.cabal @@ -89,6 +89,14 @@ library -- Base language which the package is written in. default-language: Haskell2010 +executable importer + import: warnings + main-is: Main.hs + hs-source-dirs: importer + default-language: Haskell2010 + build-depends: + base, + text executable quotes-api -- Import common warning flags. import: warnings