mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Shut up warning about missing fonts.dtd
This commit is contained in:
parent
d6c2dcd98c
commit
5ae8ed381c
@ -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
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user