mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
add support for dfont to the fonts module
This commit is contained in:
parent
511177ffe8
commit
ba92c4d307
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ in
|
|||
{ preferLocalBuild = true; }
|
||||
''
|
||||
mkdir -p $out/Library/Fonts
|
||||
font_regexp='.*\.\(ttf\|ttc\|otf\)'
|
||||
font_regexp='.*\.\(ttf\|ttc\|otf\|dfont\)'
|
||||
find -L ${toString cfg.fonts} -regex "$font_regexp" -type f -print0 | while IFS= read -rd "" f; do
|
||||
ln -sf "$f" $out/Library/Fonts
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue