{ buildPackages, fontconfig, lib, runCommand, stdenv, }: let fontconfig' = fontconfig; in { fontconfig ? fontconfig', fontDirectories, }: runCommand "fc-cache" { preferLocalBuild = true; allowSubstitutes = false; passAsFile = [ "fontDirs" ]; fontDirs = '' ${lib.concatStringsSep "\n" (map (font: "