1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-08-17 00:20:44 +03:00

fix: adapt fonts tests to use newer module api

This commit is contained in:
Jan Schmitt 2022-09-15 20:26:54 +02:00
parent 3b69bf3cc2
commit c5a241fc64
No known key found for this signature in database
GPG Key ID: F03E7A35B52BA595

View File

@ -8,9 +8,9 @@ let
in
{
fonts.enableFontDir = true;
fonts.fontDir.enable = true;
fonts.fonts = [ font ];
test = ''
echo "checking fonts in /Library/Fonts" >&2
test -e ${config.out}/Library/Fonts/Font.ttf
@ -21,4 +21,3 @@ in
grep 'rm "/Library/Fonts/.*"' ${config.out}/activate
'';
}