* man: use UTF-8 instead of latin1 by default. Fixes broken special

characters in man output.

svn path=/nixpkgs/trunk/; revision=16244
This commit is contained in:
Eelco Dolstra 2009-07-08 11:49:09 +00:00
parent 499c69c32c
commit 1dbe3d5b87

View File

@ -19,6 +19,15 @@ stdenv.mkDerivation {
./share.patch
];
postInstall =
''
# Use UTF-8 by default. Otherwise man won't know how to deal
# with certain characters.
substituteInPlace $out/lib/man.conf \
--replace "nroff -Tlatin1" "nroff" \
--replace "eqn -Tlatin1" "eqn -Tutf8"
'';
meta = {
homepage = http://primates.ximian.com/~flucifredi/man/;
description = "Tool to read online Unix documentation";