mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
parent
8db0b55f60
commit
e26188938c
|
@ -6,6 +6,14 @@ runCommand "fonts.conf"
|
|||
inherit fontDirectories;
|
||||
}
|
||||
''
|
||||
for fd in $fontDirectories;
|
||||
do
|
||||
if [ ! -d "$fd/share/fonts" ]; then
|
||||
echo "ERROR: '$fd/share/fonts/' doesn't exist"
|
||||
false
|
||||
fi
|
||||
done
|
||||
|
||||
xsltproc --stringparam fontDirectories "$fontDirectories" \
|
||||
--stringparam fontconfig "${fontconfig}" \
|
||||
--path ${fontconfig}/share/xml/fontconfig \
|
||||
|
|
Loading…
Reference in a new issue