summary refs log tree commit diff
path: root/pkgs/development/interpreters/python
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-02-02 18:22:09 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-02-02 18:22:09 -0500
commit68d828f64ca8cde5dbe85c55ca6563f92482cd4e (patch)
treeeb6d338b053ac2d161461ef7fece537e2d4ffe3b /pkgs/development/interpreters/python
parentc7c3187d9897b304c85542130ece7bacc44906a9 (diff)
downloadnixpkgs-68d828f64ca8cde5dbe85c55ca6563f92482cd4e.tar
nixpkgs-68d828f64ca8cde5dbe85c55ca6563f92482cd4e.tar.gz
nixpkgs-68d828f64ca8cde5dbe85c55ca6563f92482cd4e.tar.bz2
nixpkgs-68d828f64ca8cde5dbe85c55ca6563f92482cd4e.tar.lz
nixpkgs-68d828f64ca8cde5dbe85c55ca6563f92482cd4e.tar.xz
nixpkgs-68d828f64ca8cde5dbe85c55ca6563f92482cd4e.tar.zst
nixpkgs-68d828f64ca8cde5dbe85c55ca6563f92482cd4e.zip
python3: don't hardcode -msse2 on darwin
The -msse2 flag was hardcoded back when python32 was added in
47d86a83 ('Adding Python 3.2').
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r--pkgs/development/interpreters/python/cpython/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix
index 268f90f9616..5cb6d0a35f0 100644
--- a/pkgs/development/interpreters/python/cpython/default.nix
+++ b/pkgs/development/interpreters/python/cpython/default.nix
@@ -342,7 +342,6 @@ in with passthru; stdenv.mkDerivation {
       substituteInPlace ./setup.py --replace $i /no-such-path
     done
   '' + optionalString stdenv.isDarwin ''
-    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -msse2"
     # Override the auto-detection in setup.py, which assumes a universal build
     export PYTHON_DECIMAL_WITH_MACHINE=${if stdenv.isAarch64 then "uint128" else "x64"}
   '' + optionalString (isPy3k && pythonOlder "3.7") ''