Python 2.5: Add `passthru.platforms'.
svn path=/nixpkgs/trunk/; revision=17198
This commit is contained in:
parent
bdc8e21d9e
commit
cb865a1ac1
@ -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 {} ) )
|
||||
|
Loading…
Reference in New Issue
Block a user