From 1f4e9681f7fd9ab57e13d1335a0e0af1ce14bae9 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 30 Apr 2019 18:43:58 +0200 Subject: [PATCH] fontconfig: fix error on missing cachedir file Fixes #699 --- modules/misc/fontconfig.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/misc/fontconfig.nix b/modules/misc/fontconfig.nix index 2b989c8f..9f3def77 100644 --- a/modules/misc/fontconfig.nix +++ b/modules/misc/fontconfig.nix @@ -50,7 +50,7 @@ in EOF ${getBin pkgs.fontconfig}/bin/fc-cache -f - rm $out/lib/fontconfig/cache/CACHEDIR.TAG + rm -f $out/lib/fontconfig/cache/CACHEDIR.TAG unset FONTCONFIG_FILE '';