Revert "fontconfig: Fix missing default fontconfig files (#7045)" (#7103)

This reverts commit 65d2282ff6.
This commit is contained in:
Rosario Pulella
2025-05-21 21:04:44 -04:00
committed by GitHub
parent a69ebd9702
commit f9186c64fc
2 changed files with 0 additions and 15 deletions

View File

@@ -96,19 +96,6 @@ in
# trying to write to a read-only location.
(pkgs.runCommandLocal "dummy-fc-dir1" { } "mkdir -p $out/lib/fontconfig")
(pkgs.runCommandLocal "dummy-fc-dir2" { } "mkdir -p $out/lib/fontconfig")
# Provide fontconfig default files from /etc/fonts/
(pkgs.runCommand "fontconfig-conf" { } ''
dst=$out/etc/fonts/conf.d
mkdir -p $dst
# fonts.conf
ln -s ${pkgs.fontconfig.out}/etc/fonts/fonts.conf \
$dst/../fonts.conf
# fontconfig default config files
ln -s ${pkgs.fontconfig.out}/etc/fonts/conf.d/*.conf \
$dst/
'')
];
home.extraProfileCommands = ''

View File

@@ -7,7 +7,5 @@
nmt.script = ''
assertPathNotExists home-path/lib/fontconfig/cache
assertLinkExists home-path/etc/fonts/fonts.conf
assertDirectoryExists home-path/etc/fonts/conf.d
'';
}