Hi, > 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?
I always use (in mkDerivation): FONTCONFIG_FILE = pkgs.texFunctions.fontsConf; No idea where I got it from, but it works :-) Cheers, Rob -- Rob Vermaas [email] [email protected] _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
