cairocffi: need some fonts at build time
commitb99e339419d92de701cac0e026a6309eccc5674c
authorAlexander V. Nikolaev <avn@avnik.info>
dateSat 6 Feb 2016, 04:16 (11 years ago)
parentb4528a6
pkgs/top-level/python-packages.nix+7
@@ -2609,6 +2609,13 @@ in modules // {
26092609 };
26102610
26112611 LC_ALL = "en_US.UTF-8";
2612+
2613+ # checkPhase require at least one 'normal' font and one 'monospace',
2614+ # otherwise glyph tests fails
2615+ FONTCONFIG_FILE = pkgs.makeFontsConf {
2616+ fontDirectories = [ pkgs.freefont_ttf ];
2617+ };
2618+
26122619 buildInputs = with self; [ pytest pkgs.glibcLocales ];
26132620 propagatedBuildInputs = with self; [ pkgs.cairo cffi ];
26142621