Skip to content

Commit

Permalink
Remove warning in Stack/Cabal output
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxAtoms committed Jul 14, 2024
1 parent 132dbfa commit 5a98458
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ ghc-options:
- -Wpartial-fields
- -Wredundant-constraints
- -ddump-splices
- -XDeriveLift

default-extensions:
- DeriveLift

library:
source-dirs: src
Expand Down
12 changes: 9 additions & 3 deletions si-calculator.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ library
Paths_si_calculator
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -ddump-splices -XDeriveLift
default-extensions:
DeriveLift
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -ddump-splices
build-depends:
base >=4.7 && <5
, containers
Expand All @@ -57,7 +59,9 @@ executable si-calculator-exe
Paths_si_calculator
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -ddump-splices -XDeriveLift -threaded -rtsopts -with-rtsopts=-N
default-extensions:
DeriveLift
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -ddump-splices -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, directory
Expand All @@ -77,7 +81,9 @@ test-suite si-calculator-test
Paths_si_calculator
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -ddump-splices -XDeriveLift -threaded -rtsopts -with-rtsopts=-N
default-extensions:
DeriveLift
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -ddump-splices -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, si-calculator
Expand Down

0 comments on commit 5a98458

Please sign in to comment.