diff --git a/hledger/app/hledger-cli.hs b/hledger/app/hledger-cli.hs index 349b6fbc42f..a882da11e57 100755 --- a/hledger/app/hledger-cli.hs +++ b/hledger/app/hledger-cli.hs @@ -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