1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 02:39:45 +01:00
home-manager/tests/modules/misc/fontconfig/multiple-font-packages.nix
Robert Helgesson b256e3a44f
fontconfig: fix build error
This fixes a build error occurring when building a configuration
having fontconfig enabled and `home.packages` only containing one
package installing things to `/lib`.

Also adds a number of test cases to verify the fontconfig cache
generation functionality.

Fixes #703
2019-05-06 00:44:23 +02:00

15 lines
245 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.packages = [ pkgs.comic-relief pkgs.unifont ];
fonts.fontconfig.enable = true;
nmt.script = ''
assertDirectoryNotEmpty home-path/lib/fontconfig/cache
'';
};
}