diff options
Diffstat (limited to 'pkgs/development/interpreters/python/2.5/default.nix')
-rw-r--r-- | pkgs/development/interpreters/python/2.5/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/2.5/default.nix b/pkgs/development/interpreters/python/2.5/default.nix index 592915b41df4a..97a307be1223c 100644 --- a/pkgs/development/interpreters/python/2.5/default.nix +++ b/pkgs/development/interpreters/python/2.5/default.nix @@ -82,4 +82,4 @@ stdenv.mkDerivation ( { # - 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 {} ) ) +} // (if stdenv.isDarwin then { NIX_CFLAGS_COMPILE = "-msse2" ; patches = [./search-path.patch ./nolongdouble.patch]; } else {} ) ) |