1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 18:57:08 +00:00

Merge pull request #526 from lockejan/fix/font-tests

fix: adapt fonts tests to use newer module api
This commit is contained in:
Domen Kožar 2022-09-18 10:10:36 +01:00 committed by GitHub
commit de4d41ee9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';
}