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:
commit
de4d41ee9f
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue