Files
home-manager/tests/modules/misc/fontconfig/multiple-font-packages.nix
2026-04-13 22:02:40 -05:00

18 lines
424 B
Nix

{ realPkgs, ... }:
{
fonts.fontconfig.enable = true;
# Use `realPkgs` here since the creation of the fontconfig cache relies on the
# `fc-cache` binary and actual (non-stubbed) fonts.
test.unstubs = [ (_self: _super: { inherit (realPkgs) fontconfig; }) ];
home.packages = [
realPkgs.comic-relief
realPkgs.unifont
];
nmt.script = ''
assertDirectoryNotEmpty home-path/lib/fontconfig/cache
'';
}