[Nix-dev] Help Wanted: graphviz, fontconfig, and impurities

roconnor at theorem.ca roconnor at theorem.ca
Sat May 26 20:44:02 CEST 2012


I have made a nix-expression to build some documentation for a project. 
As part of the documentation generations, it uses graphviz to generate a 
PNG file of a diagram.  graphviz is compiled with fontconfig to generate 
the glyphs that appear in the diagram, and fontconfig searches in 
/etc/fonts to find fonts to render the glyphs.

This is an obvious impurity in the generation of the documentation, but 
honestly I don't have any idea how to go about removing this impurity. 
Has anyone else dealt with derivations using fontconfig and have any tips 
on getting fontconfig to look for fonts elsewhere than /etc/fonts?

Thanks.

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''


More information about the nix-dev mailing list