lol

lix: disable AWS if not available on the host platform

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