Skip to content

Commit 8a59b40

Browse files
authored
Merge pull request #2135 from tweag/cb/fix-cabal-sublib-deps
Fix building cabal sub-libraries
2 parents dce897a + fbabf30 commit 8a59b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell/cabal.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@ haskell_cabal_binary(
21542154
for sublib in all_components[name].sublibs:
21552155
sublib_component_deps = [
21562156
_resolve_component_target_name(name, c)
2157-
for c in package_components_dependencies.get("lib:".format(sublib), [])
2157+
for c in package_components_dependencies.get("lib:{}".format(sublib), [])
21582158
]
21592159
build_file_builder.append(
21602160
"""

0 commit comments

Comments
 (0)