tweag / gazelle_haskell_modules

A gazelle extension to generate haskell_module rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support modules using PackageImports

facundominguez opened this issue · comments

Currently gazelle_haskell_modules ignores package imports as implemented in GHC with -XPackageImports. If two modules with the same module name are available, gazelle_haskell_modules complains of an ambiguity when resolving dependencies.

We could address this by collecting both the name of imported modules and the name of the package they are expected to come from.

This has been implemented in #15