From 4ee2a8a29a4d730b8bdce76ff446e600c03b4669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 9 May 2010 12:45:57 +0000 Subject: [PATCH] Fixing the UTF-8 in openssh sshd (passing to it the LOCALE_ARCHIVE - that requieres a patch in openssh that I just commited to nixpkgs) Before this, in the shell spawned, backspace could not work over UTF-8 strings in the readline. svn path=/nixos/trunk/; revision=21679 --- modules/services/networking/ssh/sshd.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/services/networking/ssh/sshd.nix b/modules/services/networking/ssh/sshd.nix index dc1d8537142..e02b755a516 100644 --- a/modules/services/networking/ssh/sshd.nix +++ b/modules/services/networking/ssh/sshd.nix @@ -129,7 +129,11 @@ in startOn = "started network-interfaces"; - environment = { LD_LIBRARY_PATH = nssModulesPath; }; + environment = { + LD_LIBRARY_PATH = nssModulesPath; + # Duplicated from bashrc. OpenSSH needs a patch for this. + LOCALE_ARCHIVE = "/var/run/current-system/sw/lib/locale/locale-archive"; + }; preStart = ''