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 Sep 12, 2024
1 parent 7628383 commit fac657d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions haskell/haskell.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,7 @@ def _make_package(

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

modules = [
module
for module in md["module_graph"].keys()
if not module.endswith("-boot")
]
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 fac657d

Please sign in to comment.