summary refs log tree commit diff
path: root/pkgs/development/libraries/aws-c-common
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-19 11:15:40 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-19 11:52:39 -0400
commitfb3df59c6b00577a98bc6f0721c8a27d2f450759 (patch)
tree1f8477d306b92a93bcd431167e2007713c21bb58 /pkgs/development/libraries/aws-c-common
parent1e7af9f9aea0f3de66f60e834922f17541155f51 (diff)
downloadnixpkgs-fb3df59c6b00577a98bc6f0721c8a27d2f450759.tar
nixpkgs-fb3df59c6b00577a98bc6f0721c8a27d2f450759.tar.gz
nixpkgs-fb3df59c6b00577a98bc6f0721c8a27d2f450759.tar.bz2
nixpkgs-fb3df59c6b00577a98bc6f0721c8a27d2f450759.tar.lz
nixpkgs-fb3df59c6b00577a98bc6f0721c8a27d2f450759.tar.xz
nixpkgs-fb3df59c6b00577a98bc6f0721c8a27d2f450759.tar.zst
nixpkgs-fb3df59c6b00577a98bc6f0721c8a27d2f450759.zip
aws-c-common: add libexecinfo on musl
Fixes #56106
Diffstat (limited to 'pkgs/development/libraries/aws-c-common')
-rw-r--r--pkgs/development/libraries/aws-c-common/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/aws-c-common/default.nix b/pkgs/development/libraries/aws-c-common/default.nix
index 682a74593fd..5404c0a1fdf 100644
--- a/pkgs/development/libraries/aws-c-common/default.nix
+++ b/pkgs/development/libraries/aws-c-common/default.nix
@@ -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"