Merge pull request #95362 from jtojnar/global-fc-link

nixos/fontconfig: Reintroduce unversioned fonts.conf
This commit is contained in:
Florian Klink 2020-08-13 21:16:03 +02:00 committed by GitHub
commit 6c41fd259f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,6 +182,9 @@ let
# fonts.conf # fonts.conf
ln -s ${pkg.out}/etc/fonts/fonts.conf \ ln -s ${pkg.out}/etc/fonts/fonts.conf \
$dst/../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 # fontconfig default config files
ln -s ${pkg.out}/etc/fonts/conf.d/*.conf \ ln -s ${pkg.out}/etc/fonts/conf.d/*.conf \