mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Fix wml build, don't know why it worked before
This commit is contained in:
parent
b11927ff68
commit
31e1e8325b
1 changed files with 12 additions and 2 deletions
|
@ -8,7 +8,17 @@ perlPackages.buildPerlPackage rec {
|
|||
sha256 = "0jjxpq91x7y2mgixz7ghqp01m24qa37wl3zz515rrzv7x8cyy4cf";
|
||||
};
|
||||
|
||||
preConfigure = "touch Makefile.PL";
|
||||
# Getting lots of Non-ASCII character errors from pod2man.
|
||||
# Inserting =encoding utf8 before the first =head occurrence.
|
||||
# Wasn't able to fix mp4h.
|
||||
preConfigure = ''
|
||||
touch Makefile.PL
|
||||
for i in wml_backend/p6_asubst/asubst.src wml_aux/freetable/freetable.src wml_docs/*.pod wml_include/des/*.src wml_include/fmt/*.src; do
|
||||
sed -i '0,/^=head/{s/^=head/=encoding utf8\n=head/}' $i
|
||||
done
|
||||
sed -i 's/ doc / /g' wml_backend/p2_mp4h/Makefile.in
|
||||
sed -i '/p2_mp4h\/doc/d' Makefile.in
|
||||
'';
|
||||
|
||||
buildInputs = [ perlPackages.perl ncurses lynx makeWrapper ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue