cli: fix a build failure with ghc 9.0 (#1503)
Also remove the obsolete shebang line.
This commit is contained in:
		
							parent
							
								
									ae57e76cb3
								
							
						
					
					
						commit
						c83970422c
					
				| @ -1,6 +1,9 @@ | |||||||
| #!/usr/bin/env runhaskell |  | ||||||
| -- the hledger command-line executable; see Hledger/Cli/Main.hs | -- the hledger command-line executable; see Hledger/Cli/Main.hs | ||||||
| 
 | 
 | ||||||
| module Main (main) | module Main (main) | ||||||
| where | 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 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user