Skip to content

Commit

Permalink
tweak package.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
raehik committed Oct 12, 2024
1 parent f5488a5 commit e0ddad5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,9 @@ default-extensions:
# may need to enable if you're working with old code that uses `Int :: *`

ghc-options:
- -fhide-source-paths # hides module filepaths when compiling (bit neater)
- -Wall

# omitting ticks is good; see https://gitlab.haskell.org/ghc/ghc/-/issues/20531
# (off by default since GHC 9.4)
- -Wno-unticked-promoted-constructors

# `pkg ^>= x.y.z` means `pkg >= x.y.z && < x.(y+1)
dependencies:
- base >= 4.18 && < 5
Expand Down
4 changes: 2 additions & 2 deletions strongweak.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ library
TypeFamilies
DataKinds
MagicHash
ghc-options: -Wall -Wno-unticked-promoted-constructors
ghc-options: -fhide-source-paths -Wall
build-depends:
base >=4.18 && <5
, rerefined >=0.6.0 && <0.7
Expand Down Expand Up @@ -82,7 +82,7 @@ test-suite spec
TypeFamilies
DataKinds
MagicHash
ghc-options: -Wall -Wno-unticked-promoted-constructors
ghc-options: -fhide-source-paths -Wall
build-tool-depends:
hspec-discover:hspec-discover >=2.7 && <2.12
build-depends:
Expand Down

0 comments on commit e0ddad5

Please sign in to comment.