From 342d9834bf2e84a682726cffebaf1d5aeeacddf9 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 10 Jun 2009 09:18:51 +0000 Subject: [PATCH] * -msse2 flag for python on i686-darwin svn path=/nixpkgs/trunk/; revision=15914 --- pkgs/development/interpreters/python/2.5/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/python/2.5/default.nix b/pkgs/development/interpreters/python/2.5/default.nix index dd06e633a71..f41114889d5 100644 --- a/pkgs/development/interpreters/python/2.5/default.nix +++ b/pkgs/development/interpreters/python/2.5/default.nix @@ -34,7 +34,7 @@ let in -stdenv.mkDerivation { +stdenv.mkDerivation ( { name = "python-2.5.4"; src = fetchurl { @@ -50,7 +50,6 @@ stdenv.mkDerivation { inherit buildInputs; C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs); LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs); - configureFlags = "--enable-shared --with-wctype-functions"; preConfigure = '' @@ -76,5 +75,5 @@ stdenv.mkDerivation { opensslSupport = openssl != null; tkSupport = (tk != null) && (tcl != null); libPrefix = "python2.5"; - }; -} + } ; +} // (if stdenv.system == "i686-darwin" then { NIX_CFLAGS_COMPILE = "-msse2" ; } else {} ) )