File tree Expand file tree Collapse file tree 2 files changed +39
-4
lines changed Expand file tree Collapse file tree 2 files changed +39
-4
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,23 @@ stack_snapshot.package(
83
83
"conduit" ,
84
84
"conduit-extra" ,
85
85
"hspec" ,
86
- # Remove hspec-* packages once https://github.com/tweag/rules_haskell/issues/1871 is resolved
87
- "hspec-core" ,
88
- "hspec-discover" ,
89
- "hspec-expectations" ,
90
86
"optparse-applicative" ,
91
87
"text" ,
92
88
"text-show" ,
89
+ # TODO(cb) remove these transitive deps once
90
+ # https://github.com/tweag/rules_haskell/issues/1871 is resolved
91
+ "bifunctors" ,
92
+ "call-stack" ,
93
+ "generic-deriving" ,
94
+ "hspec-core" ,
95
+ "hspec-discover" ,
96
+ "hspec-expectations" ,
97
+ "HUnit" ,
98
+ "mono-traversable" ,
99
+ "quickcheck-io" ,
100
+ "transformers-compat" ,
101
+ "typed-process" ,
102
+ "unliftio-core" ,
93
103
]
94
104
]
95
105
Original file line number Diff line number Diff line change @@ -80,6 +80,31 @@ stack_snapshot(
80
80
"text" ,
81
81
"text-show" ,
82
82
],
83
+ # TODO(cb) remove once we use Cabal >= 3.10.1 / GHC >= 9.6.1
84
+ # See https://github.com/tweag/rules_haskell/issues/1871
85
+ setup_deps = {
86
+ pkg : ["@Cabal//:Cabal" ]
87
+ for pkg in [
88
+ "bifunctors" ,
89
+ "call-stack" ,
90
+ "conduit" ,
91
+ "conduit-extra" ,
92
+ "generic-deriving" ,
93
+ "hspec" ,
94
+ "hspec-core" ,
95
+ "hspec-discover" ,
96
+ "hspec-expectations" ,
97
+ "HUnit" ,
98
+ "mono-traversable" ,
99
+ "optparse-applicative" ,
100
+ "quickcheck-io" ,
101
+ "split" ,
102
+ "text-show" ,
103
+ "transformers-compat" ,
104
+ "typed-process" ,
105
+ "unliftio-core" ,
106
+ ]
107
+ },
83
108
# This example uses an unpinned version of stack_snapshot, meaning that stack is invoked on every build.
84
109
# To switch to pinned stackage dependencies, run `bazel run @stackage-unpinned//:pin` and
85
110
# uncomment the following line.
You can’t perform that action at this time.
0 commit comments