From f119d4d1423cec5cee7a7b75e51d329fe2b28325 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 31 Jul 2020 17:20:43 +0200 Subject: [PATCH] fontconfig: disable multiple font packages test This test started failing as described in the code comment. May be related to Nixpkgs updating Fontconfig from version 2.12 to 2.13. See https://github.com/NixOS/nixpkgs/pull/73795. --- tests/modules/misc/fontconfig/default.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/tests/modules/misc/fontconfig/default.nix b/tests/modules/misc/fontconfig/default.nix index b669e1c3..bea30616 100644 --- a/tests/modules/misc/fontconfig/default.nix +++ b/tests/modules/misc/fontconfig/default.nix @@ -1,5 +1,22 @@ { fontconfig-no-font-package = ./no-font-package.nix; fontconfig-single-font-package = ./single-font-package.nix; - fontconfig-multiple-font-packages = ./multiple-font-packages.nix; + # Disabled due to test failing with message + # + # Expected directory home-path/lib/fontconfig/cache to exist but it was not found. + # + # Verbose output from fc-cache: + # + # Font directories: + # /nix/store/da…g5-home-manager-path/lib/X11/fonts + # /nix/store/da…g5-home-manager-path/share/fonts + # /nix/store/da…g5-home-manager-path/share/fonts/truetype + # /nix/store/da…g5-home-manager-path/lib/X11/fonts: skipping, no such directory + # /nix/store/da…g5-home-manager-path/share/fonts: caching, new cache contents: 1 fonts, 1 dirs + # /nix/store/da…g5-home-manager-path/share/fonts/truetype: caching, new cache contents: 3 fonts, 0 dirs + # /nix/store/da…g5-home-manager-path/share/fonts/truetype: skipping, looped directory detected + # /nix/store/da…g5-home-manager-path/lib/fontconfig/cache: cleaning cache directory + # /nix/store/da…g5-home-manager-path/lib/fontconfig/cache: invalid cache file: 786068e7df13f7c2105017ef3d78e351-x86_64.cache-7 + # /nix/store/da…g5-home-manager-path/lib/fontconfig/cache: invalid cache file: 4766193978ddda4bd196f2b98c00fb00-x86_64.cache-7 + #fontconfig-multiple-font-packages = ./multiple-font-packages.nix; }