
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
16 lines
245 B
Nix
16 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
|
|
'';
|
|
};
|
|
}
|