pkgs/top-level/all-packages.nix: use callPackage to import the python 3 expression

svn path=/nixpkgs/trunk/; revision=25756
This commit is contained in:
Peter Simons 2011-02-02 11:17:01 +00:00
parent 4262167be0
commit 1620eb2311

View File

@ -2338,8 +2338,7 @@ let
inherit (pkgs.xlibs) libX11 xproto;
});
python3 = makeOverridable (import ../development/interpreters/python/3.1) {
inherit (pkgs) fetchurl stdenv zlib bzip2 gdbm;
python3 = callPackage ../development/interpreters/python/3.1 {
arch = if stdenv.isDarwin then pkgs.darwinArchUtility else null;
sw_vers = if stdenv.isDarwin then pkgs.darwinSwVersUtility else null;
};