diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-01-04 12:31:42 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-01-04 12:31:42 +0100 |
commit | 63bcd0788883dc45fb5bcd68c6f4e89c1c2087ae (patch) | |
tree | 3d0dc65a4b544174d24c7485d43bb26fa7e4e656 /pkgs/development/python-modules/matplotlib | |
parent | 29ee864e93fe0c031423ed323c25b6367d0e72c6 (diff) |
python: add isPy2 attribute to passthru
Some packages relied on it. For consistency, also introduce isPy3 (which is the same as isPy3k).
Diffstat (limited to 'pkgs/development/python-modules/matplotlib')
-rw-r--r-- | pkgs/development/python-modules/matplotlib/2.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/matplotlib/2.nix b/pkgs/development/python-modules/matplotlib/2.nix index dec34c64f0a54..129b864a241d2 100644 --- a/pkgs/development/python-modules/matplotlib/2.nix +++ b/pkgs/development/python-modules/matplotlib/2.nix @@ -45,7 +45,7 @@ buildPythonPackage rec { ++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ] ++ stdenv.lib.optionals enableTk [ tcl tk tkinter libX11 ] ++ stdenv.lib.optionals enableQt [ pyqt4 ] - ++ stdenv.lib.optionals (builtins.hasAttr "isPy2" python) [ functools32 subprocess32 ]; + ++ stdenv.lib.optionals python.isPy2 [ functools32 subprocess32 ]; patches = [ ./basedirlist.patch ] ++ |