mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
* 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
|
||||
];
|
||||
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user