summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Schmitt <git@smittie.de>2022-09-15 20:26:54 +0200
committerJan Schmitt <git@smittie.de>2022-09-15 20:26:54 +0200
commitc5a241fc64da913883a02b5ad4e2090a08f7e85f (patch)
tree29406cdf0dc9aaf9e2617203247f132c8eae38a1 /tests
parent3b69bf3cc26ae19de847bfe54d6ab22d7381a90a (diff)
fix: adapt fonts tests to use newer module api
Diffstat (limited to 'tests')
-rw-r--r--tests/fonts.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/fonts.nix b/tests/fonts.nix
index ff29957..acd1b13 100644
--- a/tests/fonts.nix
+++ b/tests/fonts.nix
@@ -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
'';
}
-