From cb865a1ac123a4ef747f0011314d75229b42511d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 16 Sep 2009 14:42:56 +0000 Subject: [PATCH] Python 2.5: Add `passthru.platforms'. svn path=/nixpkgs/trunk/; revision=17198 --- pkgs/development/interpreters/python/2.5/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/interpreters/python/2.5/default.nix b/pkgs/development/interpreters/python/2.5/default.nix index 326e93ea569..e74ddf2214c 100644 --- a/pkgs/development/interpreters/python/2.5/default.nix +++ b/pkgs/development/interpreters/python/2.5/default.nix @@ -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 {} ) )