Merge "package: make aws-sdk-cpp build input optional" into main

This commit is contained in:
Jeremy List 2024-08-02 11:42:13 +00:00 committed by Gerrit Code Review
commit c907d805bf

View file

@ -88,13 +88,17 @@ let
version = __forDefaults.versionJson.version + versionSuffix; version = __forDefaults.versionJson.version + versionSuffix;
aws-sdk-cpp-nix = aws-sdk-cpp.override { aws-sdk-cpp-nix =
apis = [ if aws-sdk-cpp == null then
"s3" null
"transfer" else
]; aws-sdk-cpp.override {
customMemoryManagement = false; apis = [
}; "s3"
"transfer"
];
customMemoryManagement = false;
};
# Reimplementation of Nixpkgs' Meson cross file, with some additions to make # Reimplementation of Nixpkgs' Meson cross file, with some additions to make
# it actually work. # it actually work.