Skip to content

Commit

Permalink
Base doesn't have to be special
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed Sep 24, 2024
1 parent 3983076 commit c2198e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions haskell/compile.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ def _dynamic_target_metadata_impl(actions, artifacts, dynamic_values, outputs, a
package_flag = _package_flag(arg.haskell_toolchain)
ghc_args = cmd_args()
ghc_args.add("-hide-all-packages")
ghc_args.add(package_flag, "base")

ghc_args.add(cmd_args(arg.toolchain_libs, prepend=package_flag))
ghc_args.add(cmd_args(packages_info.exposed_package_args))
Expand Down Expand Up @@ -346,7 +345,7 @@ def get_packages_info2(
hidden_args = [l for lib in libs.traverse() for l in lib.libs]

exposed_package_libs = cmd_args()
exposed_package_args = cmd_args([package_flag, "base"], hidden = hidden_args)
exposed_package_args = cmd_args()

if for_deps:
package_db_projection = "deps_package_db"
Expand Down

0 comments on commit c2198e3

Please sign in to comment.