mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
This reverts commit 65d2282ff6.
This commit is contained in:
@@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user