mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
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:
parent
d0f730fd6f
commit
27e3cca6cb
1 changed files with 7 additions and 0 deletions
|
@ -333,6 +333,13 @@ self: super:
|
||||||
pkgs.pkgconfig
|
pkgs.pkgconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
cat > setup.cfg <<EOF
|
||||||
|
[libs]
|
||||||
|
system_freetype = True
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
||||||
pkgs.libpng
|
pkgs.libpng
|
||||||
pkgs.freetype
|
pkgs.freetype
|
||||||
|
|
Loading…
Add table
Reference in a new issue