Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 15 lines 592 B view raw
1diff --git i/session.c w/session.c 2index 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")); 8 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")); 12+ 13 /* Set custom environment options from pubkey authentication. */ 14 if (options.permit_user_env) { 15 for (n = 0 ; n < auth_opts->nenv; n++) {