Merge "package: make aws-sdk-cpp build input optional" into main
This commit is contained in:
commit
c907d805bf
1 changed files with 11 additions and 7 deletions
18
package.nix
18
package.nix
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue