Skip to content

Commit d307c9b

Browse files
committed
Only depend on ghc-prim with GHC 9.0
1 parent 3d13612 commit d307c9b

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

base-orphans.cabal

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ dependencies:
5454

5555
library:
5656
source-dirs: src
57-
dependencies: ghc-prim
57+
when:
58+
- condition: impl(ghc == 9.0)
59+
dependencies: ghc-prim
5860
exposed-modules: Data.Orphans
5961
other-modules: Data.Orphans.Prelude
6062

0 commit comments

Comments
 (0)