Skip to content

Commit

Permalink
cli: fix a build failure with ghc 9.0 (#1503)
Browse files Browse the repository at this point in the history
Also remove the obsolete shebang line.
  • Loading branch information
simonmichael committed Mar 12, 2021
1 parent ae57e76 commit c839704
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hledger/app/hledger-cli.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env runhaskell
-- the hledger command-line executable; see Hledger/Cli/Main.hs

module Main (main)
where
import Hledger.Cli.Main (main)
import qualified Hledger.Cli.Main (main)

-- Have to write this explicitly for GHC 9.0.1a for some reason:
main :: IO ()
main = Hledger.Cli.Main.main

0 comments on commit c839704

Please sign in to comment.