1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/misc/fontconfig/multiple-font-packages.nix
2025-10-28 08:55:38 -05:00

17 lines
422 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
'';
}