File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -387,6 +387,9 @@ def _prepare_cabal_inputs(
387387 if extra_ldflags_file :
388388 input_files .append (extra_ldflags_file )
389389
390+ if hs .toolchain .locale_archive :
391+ input_files .append (hs .toolchain .locale_archive )
392+
390393 inputs = depset (
391394 input_files ,
392395 transitive = [
Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ def canonicalize_path(path):
100100os .environ ["RULES_HASKELL_GHC_PKG_PATH" ] = canonicalize_path (os .getenv ("RULES_HASKELL_GHC_PKG_PATH" , "" ))
101101os .environ ["RULES_HASKELL_LIBDIR_PATH" ] = canonicalize_path (os .getenv ("RULES_HASKELL_LIBDIR_PATH" , "" ))
102102os .environ ["RULES_HASKELL_DOCDIR_PATH" ] = canonicalize_path (os .getenv ("RULES_HASKELL_DOCDIR_PATH" , "" ))
103+ if "LOCALE_ARCHIVE" in os .environ :
104+ os .environ ["LOCALE_ARCHIVE" ] = canonicalize_path (os .getenv ("LOCALE_ARCHIVE" ))
103105
104106component = json_args ["component" ]
105107name = json_args ["pkg_name" ]
You can’t perform that action at this time.
0 commit comments