Merge pull request #239248 from tjni/po4a-darwin

perlPackages.Po4a: disable tests on darwin
This commit is contained in:
Weijia Wang 2023-06-27 11:42:25 +03:00 committed by GitHub
commit a62b20f3ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,9 @@ buildPerlPackage rec {
# 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;
#
# Disabling tests on Darwin until https://github.com/NixOS/nixpkgs/issues/236560 is resolved.
doCheck = (!stdenv.hostPlatform.isMusl) && (!stdenv.hostPlatform.isDarwin);
checkPhase = ''
export SGML_CATALOG_FILES=${docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat