lix: disable AWS if not available on the host platform (#442710)
This commit is contained in:
@@ -79,7 +79,11 @@ assert lib.assertMsg (
|
||||
enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform,
|
||||
enableStatic ? stdenv.hostPlatform.isStatic,
|
||||
enableStrictLLVMChecks ? true,
|
||||
withAWS ? !enableStatic && (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin),
|
||||
withAWS ?
|
||||
lib.meta.availableOn stdenv.hostPlatform aws-c-common
|
||||
&& !enableStatic
|
||||
&& (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin),
|
||||
aws-c-common,
|
||||
aws-sdk-cpp,
|
||||
# FIXME support Darwin once https://github.com/NixOS/nixpkgs/pull/392918 lands
|
||||
withDtrace ?
|
||||
|
||||
Reference in New Issue
Block a user