Python 2.5: Add `passthru.platforms'.

svn path=/nixpkgs/trunk/; revision=17198
This commit is contained in:
Ludovic Courtès 2009-09-16 14:42:56 +00:00
parent bdc8e21d9e
commit cb865a1ac1

View File

@ -75,5 +75,9 @@ stdenv.mkDerivation ( {
opensslSupport = openssl != null;
tkSupport = (tk != null) && (tcl != null);
libPrefix = "python2.5";
# List of supported platforms.
# - On Darwin, `python.exe' fails with "Bus Error".
platforms = stdenv.lib.platforms.allBut "i686-darwin";
} ;
} // (if stdenv.system == "i686-darwin" then { NIX_CFLAGS_COMPILE = "-msse2" ; patches = [./search-path.patch ./nolongdouble.patch]; } else {} ) )