aws-c-common: add libexecinfo on musl

Fixes #56106
This commit is contained in:
Matthew Bauer 2019-04-19 11:15:40 -04:00
parent 1e7af9f9ae
commit fb3df59c6b

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake, libexecinfo }:
stdenv.mkDerivation rec {
pname = "aws-c-common";
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = lib.optional stdenv.hostPlatform.isMusl libexecinfo;
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [
"-Wno-nullability-extension"
"-Wno-typedef-redefinition"