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
This commit is contained in:
Lluís Batlle i Rossell 2010-05-09 12:45:57 +00:00
parent 825923a051
commit 4ee2a8a29a
1 changed files with 5 additions and 1 deletions

View File

@ -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 =
''