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:
parent
3b69bf3cc2
commit
c5a241fc64
@ -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…
Reference in New Issue
Block a user