aws-c-event-stream: add libexecinfo on musl

This commit is contained in:
Matthew Bauer 2019-04-21 20:29:10 -04:00 committed by GitHub
parent ce14f9a9be
commit 2b0c513ff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common, aws-checksums }: { lib, stdenv, fetchFromGitHub, cmake, aws-c-common, aws-checksums, libexecinfo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "aws-c-event-stream"; pname = "aws-c-event-stream";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ aws-c-common aws-checksums ]; buildInputs = [ aws-c-common aws-checksums ] ++ lib.optional stdenv.hostPlatform.isMusl libexecinfo;
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake" "-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"