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;
aws-sdk-cpp-nix = aws-sdk-cpp.override {
apis = [
"s3"
"transfer"
];
customMemoryManagement = false;
};
aws-sdk-cpp-nix =
if aws-sdk-cpp == null then
null
else
aws-sdk-cpp.override {
apis = [
"s3"
"transfer"
];
customMemoryManagement = false;
};
# Reimplementation of Nixpkgs' Meson cross file, with some additions to make
# it actually work.