diff --git a/pkgs/development/libraries/fontconfig/make-fonts-conf.nix b/pkgs/development/libraries/fontconfig/make-fonts-conf.nix index bf94bfa34d2b..f9cd096f559b 100644 --- a/pkgs/development/libraries/fontconfig/make-fonts-conf.nix +++ b/pkgs/development/libraries/fontconfig/make-fonts-conf.nix @@ -1,13 +1,14 @@ -{runCommand, libxslt, fontconfig, fontDirectories}: +{ runCommand, libxslt, fontconfig, fontDirectories }: runCommand "fonts.conf" - { - buildInputs = [libxslt]; + { + buildInputs = [ libxslt fontconfig ]; inherit fontDirectories; } '' xsltproc --stringparam fontDirectories "$fontDirectories" \ --stringparam fontconfig "${fontconfig}" \ + --path ${fontconfig}/share/xml/fontconfig \ ${./make-fonts-conf.xsl} ${fontconfig}/etc/fonts/fonts.conf \ > $out ''