From 4578d5d32951ae3ef22c2445fe75c43b8f845a5d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 6 Apr 2021 07:45:49 -1000 Subject: [PATCH] ui: work around ghc 9.0 build failure (#1503) Also remove obsolete shebang line. --- hledger-ui/hledger-ui.hs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hledger-ui/hledger-ui.hs b/hledger-ui/hledger-ui.hs index 1788506df..4e7ef509f 100644 --- a/hledger-ui/hledger-ui.hs +++ b/hledger-ui/hledger-ui.hs @@ -1,5 +1,7 @@ -#!/usr/bin/env runhaskell -module Main - (module Hledger.UI) +module Main (main) where -import Hledger.UI (main) +-- import Hledger.UI (main) +-- workaround for GHC 9.0.1 https://gitlab.haskell.org/ghc/ghc/-/issues/19397, #1503 +import qualified Hledger.UI.Main (main) +main :: IO () +main = Hledger.UI.Main.main