Skip to content

Commit

Permalink
matplotlib: fix tk backend on python3
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Nov 28, 2016
1 parent fc711b5 commit 4626857
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/matplotlib/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, buildPythonPackage, pycairo
{ stdenv, fetchurl, python, buildPythonPackage, pycairo, isPy3k
, which, cycler, dateutil, nose, numpy, pyparsing, sphinx, tornado
, freetype, libpng, pkgconfig, mock, pytz, pygobject3
, enableGhostscript ? false, ghostscript ? null, gtk3
Expand All @@ -12,7 +12,7 @@ assert enableGhostscript -> ghostscript != null;
assert enableGtk2 -> pygtk != null;
assert enableTk -> (tcl != null)
&& (tk != null)
&& (tkinter != null)
&& ((!isPy3k) -> tkinter != null)
&& (libX11 != null)
;

Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ let
curses = null;
curses_panel = null;
crypt = null;
tkinter = null;
};

in modules // {
Expand Down

0 comments on commit 4626857

Please sign in to comment.