1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-19 10:32:40 +00:00

On Darwin, set NO_APPLE_COMMON_CRYPTO=1 for git builds

This commit is contained in:
John Wiegley 2014-04-14 14:53:15 -05:00
parent 7ce743b422
commit cfe42425c3

View file

@ -36,7 +36,9 @@ stdenv.mkDerivation {
makeFlags = "prefix=\${out} sysconfdir=/etc/ PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell} "
+ (if pythonSupport then "PYTHON_PATH=${python}/bin/python" else "NO_PYTHON=1")
+ (if stdenv.isSunOS then " INSTALL=install NO_INET_NTOP= NO_INET_PTON=" else "");
+ (if stdenv.isSunOS then " INSTALL=install NO_INET_NTOP= NO_INET_PTON=" else "")
+ (if stdenv.isDarwin then " NO_APPLE_COMMON_CRYPTO=1" else "");
# FIXME: "make check" requires Sparse; the Makefile must be tweaked
# so that `SPARSE_FLAGS' corresponds to the current architecture...