Skip to content

Commit

Permalink
-boot module keys should not be added as exposed modules in conf
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed Aug 28, 2024
1 parent e6d2335 commit c424319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell/haskell.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def _make_package(

source_prefixes = get_source_prefixes(ctx.attrs.srcs, module_map)

modules = md["module_graph"].keys()
modules = filter(lambda x: not (x.endswith("-boot")), md["module_graph"].keys())

# XXX use a single import dir when this package db is used for resolving dependencies with ghc -M,
# which works around an issue with multiple import dirs resulting in GHC trying to locate interface files
Expand Down

0 comments on commit c424319

Please sign in to comment.