8000 chore: fix locale spam? (#2079) · aspect-build/rules_js@4488c9f · GitHub
[go: up one dir, main page]

Skip to content < 8000 span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">

Commit 4488c9f

Browse files
authored
chore: fix locale spam? (#2079)
1 parent f99b070 commit 4488c9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

npm/private/npm_package_store.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ def _npm_package_store_impl(ctx):
245245
# Workaround https://github.com/bazelbuild/bazel-central-registry/issues/2256
246246
# Always override the locale to give better hermeticity.
247247
# See https://github.com/bazelbuild/rules_java/blob/767e4410850453a10ccf89aa1cededf9de05c72e/toolchains/utf8_environment.bzl
248+
# and https://github.com/libarchive/libarchive/blob/65196fdd1a385f22114f245a9002ee8dc899f2c4/tar/bsdtar.c#L192
248249
env = {
249-
"LC_CTYPE":
250+
"LC_ALL":
250251
# # macOS doesn't have the C.UTF-8 locale, but en_US.UTF-8 is available and works the same way.
251252
"en_US.UTF-8" if is_macos else
252253
# The default UTF-8 locale on all recent Linux distributions. It is also available in Cygwin and MSYS2.

0 commit comments

Comments
 (0)
0