diff --git a/haskell/compile.bzl b/haskell/compile.bzl index e63e8d83e..15041785a 100644 --- a/haskell/compile.bzl +++ b/haskell/compile.bzl @@ -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)) @@ -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"