Skip to content

Commit

Permalink
(wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
liskin committed May 13, 2024
1 parent 72b0188 commit 5fbe9ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ jobs:
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package X11-xft" >> cabal.project ; fi
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
cat >> cabal.project <<EOF
allow-newer: setlocale:base
package X11-xft
flags: +pedantic
EOF
Expand Down
6 changes: 6 additions & 0 deletions X11-xft.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ library
if flag(pedantic)
ghc-options: -Werror

-- Keep this in sync with the oldest version in 'tested-with'
if impl(ghc > 8.0.2)
-- don't treat unused-imports warning as errors, they may be necessary
-- for compatibility with older versions of base (or other deps)
ghc-options: -Wwarn=unused-imports

source-repository head
type: git
location: https://github.com/xmonad/X11-xft.git
3 changes: 3 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
packages: ./

allow-newer:
setlocale:base

0 comments on commit 5fbe9ff

Please sign in to comment.