crun: 1.8.3 -> 1.8.4
[NixPkgs.git] / pkgs / tools / networking / openssh / locale_archive.patch
blob3fe4a21ea47ef87d1d93b2f0700b56a75a88d0d1
1 diff --git i/session.c w/session.c
2 index 58826db1..658dd911 100644
3 --- i/session.c
4 +++ w/session.c
5 @@ -1053,6 +1053,10 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell)
6 if (getenv("TZ"))
7 child_set_env(&env, &envsize, "TZ", getenv("TZ"));
9 + /* NixOS path to the glibc locale archive, to be set in the systemd job */
10 + if (getenv("LOCALE_ARCHIVE"))
11 + child_set_env(&env, &envsize, "LOCALE_ARCHIVE", getenv("LOCALE_ARCHIVE"));
13 /* Set custom environment options from pubkey authentication. */
14 if (options.permit_user_env) {
15 for (n = 0 ; n < auth_opts->nenv; n++) {