Shut up warning about missing fonts.dtd
This commit is contained in:
parent
d6c2dcd98c
commit
5ae8ed381c
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
runCommand "fonts.conf"
|
runCommand "fonts.conf"
|
||||||
{
|
{
|
||||||
buildInputs = [libxslt];
|
buildInputs = [ libxslt fontconfig ];
|
||||||
inherit fontDirectories;
|
inherit fontDirectories;
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
xsltproc --stringparam fontDirectories "$fontDirectories" \
|
xsltproc --stringparam fontDirectories "$fontDirectories" \
|
||||||
--stringparam fontconfig "${fontconfig}" \
|
--stringparam fontconfig "${fontconfig}" \
|
||||||
|
--path ${fontconfig}/share/xml/fontconfig \
|
||||||
${./make-fonts-conf.xsl} ${fontconfig}/etc/fonts/fonts.conf \
|
${./make-fonts-conf.xsl} ${fontconfig}/etc/fonts/fonts.conf \
|
||||||
> $out
|
> $out
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user