nix: disable aws support on musl

This is just a temporary measure until musl
compatibility is restored to aws-c-common.
This commit is contained in:
Ryan Burns 2021-02-05 19:57:15 -08:00
parent 33f50b3816
commit 7426b189b0

View File

@ -22,7 +22,7 @@ common =
, stateDir , stateDir
, confDir , confDir
, withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp , withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp , withAWS ? !enableStatic && !stdenv.hostPlatform.isMusl && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
, enableStatic ? stdenv.hostPlatform.isStatic , enableStatic ? stdenv.hostPlatform.isStatic
, name, suffix ? "", src , name, suffix ? "", src
, patches ? [ ] , patches ? [ ]