Skip to content

Commit

Permalink
dev: web: fix build with ghc <9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Sep 30, 2024
1 parent 36442b3 commit 895e271
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hledger-web/Hledger/Web/Handler/RegisterR.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

module Hledger.Web.Handler.RegisterR where

import qualified Data.List.NonEmpty as NonEmpty
import qualified Data.List.Compat.NonEmpty as NonEmpty -- from base-compat for ghc 8.10
import Data.List (intersperse, nub, partition)
import qualified Data.Text as T
import Text.Hamlet (hamletFile)
Expand Down
1 change: 1 addition & 0 deletions hledger-web/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ when:

dependencies:
- base >=4.14 && <4.21
- base-compat

library:
source-dirs: .
Expand Down

0 comments on commit 895e271

Please sign in to comment.