perlPackages.Po4a: fix install paths

This commit is contained in:
Ales Huzik 2018-10-24 16:53:53 +11:00 committed by Jan Tojnar
parent b201817eb3
commit 29080af27f
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -12482,7 +12482,8 @@ let
export PERL_MB_OPT="--install_base=$out --prefix=$out"
substituteInPlace Po4aBuilder.pm --replace "\$self->install_sets(\$self->installdirs)->{'bindoc'}" "'$out/share/man/man1'"
'';
buildPhase = "perl Build.PL --install_base=$out; ./Build build";
buildPhase = "perl Build.PL --install_base=$out --install_path=\"lib=$out/${perl.libPrefix}\"; ./Build build";
installPhase = "./Build install";
checkPhase = ''
export SGML_CATALOG_FILES=${pkgs.docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat