Unverified Commit 59ce6343 authored by Emmanuel Alap's avatar Emmanuel Alap
Browse files

nushell: Set NU_TEST_LOCALE_OVERRIDE to standardize locale used in test



Some tests are locale-specific expecting to compare string output in en_US.utf8,
which causes failure on systems with different locale values.

Signed-off-by: default avatarEmmanuel Alap <15620712+ealap@users.noreply.github.com>
parent dcfcf0d2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -56,6 +56,10 @@ rustPlatform.buildRustPackage {
  buildNoDefaultFeatures = !withDefaultFeatures;
  buildFeatures = additionalFeatures [ ];

  preCheck = ''
    export NU_TEST_LOCALE_OVERRIDE="en_US.UTF-8"
  '';

  checkPhase = ''
    runHook preCheck
    (