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
@ -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 New Issue
Block a user