mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #49762 from symphorien/fccache
nixos/fontconfig/make-fonts-cache: don't fail to clean the cache
This commit is contained in:
commit
3ef226158e
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
runCommand "fc-cache"
|
||||
rec {
|
||||
buildInputs = [ fontconfig.bin ];
|
||||
preferLocalBuild = true;
|
||||
passAsFile = [ "fontDirs" ];
|
||||
fontDirs = ''
|
||||
<!-- Font directories -->
|
||||
|
@ -27,5 +28,5 @@ runCommand "fc-cache"
|
|||
|
||||
# This is not a cache dir in the normal sense -- it won't be automatically
|
||||
# recreated.
|
||||
rm "$out/CACHEDIR.TAG"
|
||||
rm -f "$out/CACHEDIR.TAG"
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue