File tree 2 files changed +5
-0
lines changed
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(
387
387
if extra_ldflags_file :
388
388
input_files .append (extra_ldflags_file )
389
389
390
+ if hs .toolchain .locale_archive :
391
+ input_files .append (hs .toolchain .locale_archive )
392
+
390
393
inputs = depset (
391
394
input_files ,
392
395
transitive = [
Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ def canonicalize_path(path):
100
100
os .environ ["RULES_HASKELL_GHC_PKG_PATH" ] = canonicalize_path (os .getenv ("RULES_HASKELL_GHC_PKG_PATH" , "" ))
101
101
os .environ ["RULES_HASKELL_LIBDIR_PATH" ] = canonicalize_path (os .getenv ("RULES_HASKELL_LIBDIR_PATH" , "" ))
102
102
os .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" ))
103
105
104
106
component = json_args ["component" ]
105
107
name = json_args ["pkg_name" ]
You can’t perform that action at this time.
0 commit comments