diff options
Diffstat (limited to 'package.nix')
-rw-r--r-- | package.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/package.nix b/package.nix index 62927e569..7ebe2721b 100644 --- a/package.nix +++ b/package.nix @@ -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. |