mirror of
https://github.com/nix-community/home-manager
synced 2024-08-23 20:46:31 +02:00
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
18 lines
237 B
Nix
18 lines
237 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
home.packages = [
|
|
# Look, no font!
|
|
];
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-path/lib/fontconfig/cache
|
|
'';
|
|
};
|
|
}
|