From e045575ddae30fbc51aa82dc964d0a1bcf33db60 Mon Sep 17 00:00:00 2001 From: Dhananjay Balan Date: Fri, 10 Nov 2023 10:23:15 +0100 Subject: [PATCH] flake --- flake.nix | 2 ++ importer/Main.hs | 2 -- quotes-api.cabal | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) 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