This reverts commit 65d2282ff6.
This commit is contained in:
parent
a69ebd9702
commit
f9186c64fc
2 changed files with 0 additions and 15 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue