matplotlib: Fix "attribute ‘tkinter’ missing"

`tkinter` is not part of `python`, but of `pythonPackages`.
This commit is contained in:
Andreas Herrmann 2016-11-28 15:41:28 +01:00
parent 21a5532c57
commit 44177794d2

View file

@ -40,7 +40,7 @@ buildPythonPackage rec {
]
++ stdenv.lib.optional enableGtk2 pygtk
++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobjectIntrospection pygobject3 ]
++ stdenv.lib.optionals enableTk [ python.tkinter tcl tk tkinter libX11 ];
++ stdenv.lib.optionals enableTk [ tcl tk tkinter libX11 ];
patches =
[ ./basedirlist.patch ] ++