python34: as a workaround, explicitly set MACOSX_DEPLOYMENT_TARGET
Otherwise, it crashes with a segfault while running the tests.
This commit is contained in:
parent
fd26805059
commit
ce59dec5bb
@ -42,7 +42,10 @@ stdenv.mkDerivation {
|
|||||||
for i in /usr /sw /opt /pkg; do # improve purity
|
for i in /usr /sw /opt /pkg; do # improve purity
|
||||||
substituteInPlace ./setup.py --replace $i /no-such-path
|
substituteInPlace ./setup.py --replace $i /no-such-path
|
||||||
done
|
done
|
||||||
${optionalString stdenv.isDarwin ''export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -msse2"''}
|
${optionalString stdenv.isDarwin ''
|
||||||
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -msse2"
|
||||||
|
export MACOSX_DEPLOYMENT_TARGET=10.6
|
||||||
|
''}
|
||||||
|
|
||||||
configureFlagsArray=( --enable-shared --with-threads
|
configureFlagsArray=( --enable-shared --with-threads
|
||||||
CPPFLAGS="${concatStringsSep " " (map (p: "-I${p}/include") buildInputs)}"
|
CPPFLAGS="${concatStringsSep " " (map (p: "-I${p}/include") buildInputs)}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user