python3Packages.m2crypto: fixup darwin build (#429894)

Aleksana e15b9ae4 9f0a60c9

Changed files
+1
pkgs
development
python-modules
m2crypto
+1
pkgs/development/python-modules/m2crypto/default.nix
···
"-Wno-error=implicit-function-declaration"
"-Wno-error=incompatible-pointer-types"
]);
+
OPENSSL_PATH = lib.optionalString stdenv.hostPlatform.isDarwin "${openssl.dev}";
}
// lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) {
CPP = "${stdenv.cc.targetPrefix}cpp";