mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00: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:
parent
1e85228aa6
commit
69221cf2d2
1 changed files with 2 additions and 2 deletions
|
@ -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 = ''
|
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
|
# Matplotlib tries to find Tcl/Tk by opening a Tk window and asking the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue