python3Packages.matplotlib: fix Tk

The refactor that happened in the same commit as the version bump
somehow broke Tk support.

This commit fixes the issue by moving tkinter to propagatedBuildInputs.
This commit is contained in:
Norbert Melzer 2023-04-08 16:23:03 +02:00
parent 746efed6f8
commit 1e87c6534a

View File

@ -135,7 +135,6 @@ buildPythonPackage rec {
libX11
tcl
tk
tkinter
] ++ lib.optionals stdenv.isDarwin [
Cocoa
];
@ -167,6 +166,8 @@ buildPythonPackage rec {
tornado
] ++ lib.optionals enableNbagg [
ipykernel
] ++ lib.optionals enableTk [
tkinter
];
passthru.config = {