overrides: Matplotlib 3.3.0 now downloads/builds it's own freetype by default

Override to use system (nix) freetype.
This commit is contained in:
adisbladis 2020-08-14 00:28:21 +02:00
parent d0f730fd6f
commit 27e3cca6cb
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -333,6 +333,13 @@ self: super:
pkgs.pkgconfig
];
postPatch = ''
cat > setup.cfg <<EOF
[libs]
system_freetype = True
EOF
'';
propagatedBuildInputs = old.propagatedBuildInputs ++ [
pkgs.libpng
pkgs.freetype