Skip to content

Commit e0ddad5

Browse files
committed
tweak package.yaml
1 parent f5488a5 commit e0ddad5

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

package.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,9 @@ default-extensions:
5151
# may need to enable if you're working with old code that uses `Int :: *`
5252

5353
ghc-options:
54+
- -fhide-source-paths # hides module filepaths when compiling (bit neater)
5455
- -Wall
5556

56-
# omitting ticks is good; see https://gitlab.haskell.org/ghc/ghc/-/issues/20531
57-
# (off by default since GHC 9.4)
58-
- -Wno-unticked-promoted-constructors
59-
6057
# `pkg ^>= x.y.z` means `pkg >= x.y.z && < x.(y+1)
6158
dependencies:
6259
- base >= 4.18 && < 5

strongweak.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ library
5252
TypeFamilies
5353
DataKinds
5454
MagicHash
55-
ghc-options: -Wall -Wno-unticked-promoted-constructors
55+
ghc-options: -fhide-source-paths -Wall
5656
build-depends:
5757
base >=4.18 && <5
5858
, rerefined >=0.6.0 && <0.7
@@ -82,7 +82,7 @@ test-suite spec
8282
TypeFamilies
8383
DataKinds
8484
MagicHash
85-
ghc-options: -Wall -Wno-unticked-promoted-constructors
85+
ghc-options: -fhide-source-paths -Wall
8686
build-tool-depends:
8787
hspec-discover:hspec-discover >=2.7 && <2.12
8888
build-depends:

0 commit comments

Comments
 (0)