0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.matplotlib: setup.cfg -> mplsetup.cfg

This addresses a regression on darwin.

An alternative to this would be to set MPLSETUPCFG as was suggested in
This commit is contained in:
Dmitry Kalinkin 2021-12-15 14:47:51 -05:00
parent 1e85228aa6
commit 69221cf2d2
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -87,10 +87,10 @@ buildPythonPackage rec {
};
};
setup_cfg = writeText "setup.cfg" (lib.generators.toINI {} passthru.config);
mplsetup_cfg = writeText "mplsetup.cfg" (lib.generators.toINI {} passthru.config);
preBuild = ''
cp "$setup_cfg" ./setup.cfg
cp "$mplsetup_cfg" ./mplsetup.cfg
'';
# Matplotlib tries to find Tcl/Tk by opening a Tk window and asking the