diff options
author | Yureka <yuka@yuka.dev> | 2022-09-13 11:11:34 +0200 |
---|---|---|
committer | Yuka <yuka@yuka.dev> | 2022-09-15 20:18:00 +0200 |
commit | fec315a167a1e308d3e1f4ccdea655b82d06334a (patch) | |
tree | 618756b885a8c58718aa6ea6b6ad512b2594fbef /pkgs/development/perl-modules | |
parent | b8a992605d99fa5bd44d738b9054103b5d003e65 (diff) |
perlPackages.Po4a: disable tests on musl
Void linux package have investigated the failure and tracked it down to differences in gettext behavior. They decided to disable tests. https://github.com/void-linux/void-packages/pull/34029#issuecomment-973267880 Alpine packagers have not worried about running the tests until now: https://git.alpinelinux.org/aports/tree/main/po4a/APKBUILD#n11
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r-- | pkgs/development/perl-modules/Po4a/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/Po4a/default.nix b/pkgs/development/perl-modules/Po4a/default.nix index aabf897ac4c09..119414907856a 100644 --- a/pkgs/development/perl-modules/Po4a/default.nix +++ b/pkgs/development/perl-modules/Po4a/default.nix @@ -19,6 +19,14 @@ buildPerlPackage rec { export PERL_MB_OPT="--install_base=$out --prefix=$out" ''; buildPhase = "perl Build.PL --install_base=$out --install_path=\"lib=$out/${perl.libPrefix}\"; ./Build build"; + + # Disabling tests on musl + # Void linux package have investigated the failure and tracked it down to differences in gettext behavior. They decided to disable tests. + # https://github.com/void-linux/void-packages/pull/34029#issuecomment-973267880 + # Alpine packagers have not worried about running the tests until now: + # https://git.alpinelinux.org/aports/tree/main/po4a/APKBUILD#n11 + doCheck = !stdenv.hostPlatform.isMusl; + checkPhase = '' export SGML_CATALOG_FILES=${docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat ./Build test |