mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +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
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
fonts.enableFontDir = true;
|
fonts.fontDir.enable = true;
|
||||||
fonts.fonts = [ font ];
|
fonts.fonts = [ font ];
|
||||||
|
|
||||||
test = ''
|
test = ''
|
||||||
echo "checking fonts in /Library/Fonts" >&2
|
echo "checking fonts in /Library/Fonts" >&2
|
||||||
test -e ${config.out}/Library/Fonts/Font.ttf
|
test -e ${config.out}/Library/Fonts/Font.ttf
|
||||||
|
@ -21,4 +21,3 @@ in
|
||||||
grep 'rm "/Library/Fonts/.*"' ${config.out}/activate
|
grep 'rm "/Library/Fonts/.*"' ${config.out}/activate
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue