Making openssh pass the LOCALE_ARCHIVE variable to the forked session processes,

so the session 'bash' will receive the proper locale archive, and thus process
UTF-8 properly.

svn path=/nixpkgs/trunk/; revision=21678
This commit is contained in:
Lluís Batlle i Rossell 2010-05-09 12:44:09 +00:00
parent 9012b226c7
commit b7af00b889

View File

@ -23,10 +23,11 @@ stdenv.mkDerivation rec {
sha256 = "12kywhjnz6w6kx5fk526fhs2xc7rf234hwrms9p1hqv6zrpdvvin";
};
patchPhase = stdenv.lib.optionalString hpnSupport
prePatch = stdenv.lib.optionalString hpnSupport
''
gunzip -c ${hpnSrc} | patch -p1
'';
patches = [ ./locale_archive.patch ];
buildInputs =
[ zlib openssl perl libedit pkgconfig ]