diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index a9ecee77dce9..806576b2965e 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -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