Thibault Gagnaux
547ccd60b4
Replaces cp with rsync to prevent partial copies across filesystems.
2019-12-22 22:31:34 +01:00
Thibault Gagnaux
a5d863ee64
fonts: Adds support if Nix is on another filesystem.
...
On Catalina, the default way is to install Nix on a new volume which breaks hardlinking the font files. If that is the case I just copy them.
2019-12-22 14:52:01 +01:00
Daiderd Jordan
4d892e7774
fonts: rewrite activation
...
The new implementation is a bit smarter and only updates fonts that
changed. But more importantly /run/current-system isn't used anymore
which breaks initial activation and installs the previous set of fonts
instead of the one in the new system.
Fixes #115
2019-02-17 11:31:40 +01:00
Piotr Limanowski
00cd92968e
skip buildEnv and create a package with /share/fonts
2018-10-06 20:38:01 +02:00
Piotr Limanowski
2a53ac278f
fonts: adds enableFontDir
flag
...
For NixOS compatibility reasons we're using enableFontDir flag that
in turn enables/disables font management in /Library/Fonts directory.
2018-10-05 22:27:29 +02:00
Piotr Limanowski
da886d015c
fonts: extracts helpers to top-level let expr
2018-10-05 19:17:43 +02:00
Piotr Limanowski
c2d7870587
adds info on automatic removal of manually-added fonts
2018-10-04 20:40:19 +02:00
Piotr Limanowski
397d2637e9
looks for fonts with both otf and ttf extensions
2018-10-04 13:48:57 +02:00
Piotr Limanowski
8fe33a584e
adds recursive font searching
2018-10-04 13:14:45 +02:00
Piotr Limanowski
6d0cf2d842
add tests for fonts
2018-10-02 19:59:23 +02:00
Piotr Limanowski
b10e114e33
re-add fonts on every rebuild
2018-09-30 14:53:16 +02:00
Piotr Limanowski
7a7cbdc165
initialise fonts module
2018-09-30 13:22:24 +02:00