From 36b4dc54bbf7ed18c8ab3b0443399a15b838bed1 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 17 Oct 2016 21:45:16 +0200 Subject: [PATCH] Python: bring back pythonFull As there could be quite some users depending pythonFull. --- pkgs/top-level/all-packages.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b5d7581638b..5d6d8ec3700 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5482,10 +5482,18 @@ in }; purePackages = recurseIntoAttrs (callPackage ./pure-packages.nix {}); + # Python interpreters. All standard library modules are included except for tkinter, which is + # available as `pythonPackages.tkinter` and can be used as any other Python package. python = python2; python2 = python27; python3 = python35; + # Python interpreter that is build with all modules, including tkinter. + # These are for compatibility and should not be used inside Nixpkgs. + pythonFull = python.override{x11Support=true;}; + python2Full = python2.override{x11Support=true;}; + python3Full = python3.override{x11Support=true;}; + # pythonPackages further below, but assigned here because they need to be in sync pythonPackages = python2Packages; python2Packages = python27Packages;