Skip to content

Commit

Permalink
fix(app): Remove PackageInfo autogenerated module
Browse files Browse the repository at this point in the history
Not (yet) supported by Hackage
  • Loading branch information
sgillespie committed Mar 25, 2024
1 parent c26aedb commit c29d111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Data.Text.IO qualified as Text
import Data.Version (showVersion)
import Options.Applicative hiding (columns)
import Options.Applicative.Help.Pretty
import PackageInfo_gibberish (name, version)
import Paths_gibberish (version)
import System.Environment (getArgs)
import Prelude hiding (Word ())

Expand Down Expand Up @@ -255,7 +255,7 @@ showVersion' :: Text
showVersion' = name' <> " version " <> version'
where
version' = Text.pack (showVersion version)
name' = Text.toTitle (Text.pack name)
name' = "Gibberish"

toLanguage :: LanguageOpt -> Language
toLanguage OptEnglish = English
Expand Down
1 change: 0 additions & 1 deletion gibberish.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ executable gibber
import: common-exe
main-is: Main.hs
other-modules:
PackageInfo_gibberish
Paths_gibberish
autogen-modules:
Paths_gibberish
Expand Down

0 comments on commit c29d111

Please sign in to comment.