mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 21:49:48 +01:00
b256e3a44f
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
15 lines
232 B
Nix
15 lines
232 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
home.packages = [ pkgs.comic-relief ];
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertDirectoryNotEmpty home-path/lib/fontconfig/cache
|
|
'';
|
|
};
|
|
}
|