mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
Merge pull request #771 from Benjamin-L/support-dfont-fonts
Add support for dfont to the fonts module
This commit is contained in:
commit
4496ab2662
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…
Add table
Reference in a new issue