lol

lix: disable AWS if not available on the host platform (#442710)

authored by

jade and committed by
GitHub
5b23e25c 3011ce54

+5 -1
+5 -1
pkgs/tools/package-management/lix/common-lix.nix
··· 79 79 enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform, 80 80 enableStatic ? stdenv.hostPlatform.isStatic, 81 81 enableStrictLLVMChecks ? true, 82 - withAWS ? !enableStatic && (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin), 82 + withAWS ? 83 + lib.meta.availableOn stdenv.hostPlatform aws-c-common 84 + && !enableStatic 85 + && (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin), 86 + aws-c-common, 83 87 aws-sdk-cpp, 84 88 # FIXME support Darwin once https://github.com/NixOS/nixpkgs/pull/392918 lands 85 89 withDtrace ?