* 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:
parent
499c69c32c
commit
1dbe3d5b87
@ -19,6 +19,15 @@ stdenv.mkDerivation {
|
|||||||
./share.patch
|
./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 = {
|
meta = {
|
||||||
homepage = http://primates.ximian.com/~flucifredi/man/;
|
homepage = http://primates.ximian.com/~flucifredi/man/;
|
||||||
description = "Tool to read online Unix documentation";
|
description = "Tool to read online Unix documentation";
|
||||||
|
Loading…
Reference in New Issue
Block a user