git.iko.soy/typeable/nixpkgs
on master help sign in
python34: as a workaround, explicitly set MACOSX_DEPLOYMENT_TARGET

Otherwise, it crashes with a segfault while running the tests.

commitce59dec5bb860e208289b7da0f73ba9b0c0ec69e authorJohn Wiegley <johnw@newartisans.com> dateTue 6 Jan 2015, 08:42 (12 years ago) parentfd26805
1 file changed+4−1
pkgs/development/interpreters/python/3.4/default.nix+4−1
pkgs/development/interpreters/python/3.4/default.nix+4−1
@@ -42,7 +42,10 @@ stdenv.mkDerivation {
4242 for i in /usr /sw /opt /pkg; do # improve purity
4343 substituteInPlace ./setup.py --replace $i /no-such-path
4444 done
45− ${optionalString stdenv.isDarwin ''export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -msse2"''}
45+ ${optionalString stdenv.isDarwin ''
46+ export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -msse2"
47+ export MACOSX_DEPLOYMENT_TARGET=10.6
48+ ''}
4649
4750 configureFlagsArray=( --enable-shared --with-threads
4851 CPPFLAGS="${concatStringsSep " " (map (p: "-I${p}/include") buildInputs)}"