Skip to content

Commit ad369aa

Browse files
committed
examples: Add zlib to extra_deps needed by streaming-commons
1 parent 87dc6ac commit ad369aa

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

examples/MODULE.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ stack_snapshot.package(
6767
],
6868
)
6969

70+
stack_snapshot.package(
71+
name = "streaming-commons",
72+
extra_deps = ["@zlib.hs"],
73+
setup_deps = ["@Cabal//:Cabal"],
74+
)
75+
7076
[
7177
stack_snapshot.package(
7278
name = pkg, # See https://github.com/tweag/rules_haskell/issues/1871

examples/WORKSPACE

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ stack_snapshot(
5757
components_dependencies = {
5858
"attoparsec": """{"lib:attoparsec": ["lib:attoparsec-internal"]}""",
5959
},
60-
extra_deps = {"zlib": ["@zlib.hs"]},
60+
extra_deps = {
61+
"zlib": ["@zlib.hs"],
62+
"streaming-commons": ["@zlib.hs"],
63+
},
6164
flags = {
6265
# Sets the default explicitly to demonstrate the flags attribute.
6366
"zlib": [

0 commit comments

Comments
 (0)