Skip to content

Commit

Permalink
Merge pull request #95362 from jtojnar/global-fc-link
Browse files Browse the repository at this point in the history
nixos/fontconfig: Reintroduce unversioned fonts.conf
  • Loading branch information
flokli authored Aug 13, 2020
2 parents 6e4042d + 0a4a624 commit 6c41fd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/modules/config/fonts/fontconfig.nix
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ let
# fonts.conf
ln -s ${pkg.out}/etc/fonts/fonts.conf \
$dst/../fonts.conf
# TODO: remove this legacy symlink once people stop using packages built before #95358 was merged
ln -s /etc/fonts/${pkg.configVersion}/fonts.conf \
$out/etc/fonts/fonts.conf
# fontconfig default config files
ln -s ${pkg.out}/etc/fonts/conf.d/*.conf \
Expand Down

0 comments on commit 6c41fd2

Please sign in to comment.