Undefined symbol in libnixstore.so due to ABI break in AWS SDK

Description:

Version 1.11.486 of the AWS SDK for C++ added an optional parameter to TransferManager::UploadFile. This breaks the ABI of libaws-cpp-sdk-transfer.so and causes an undefined symbol error with programs that link to libnixstore.so:

$ nix-channel --help
nix-channel: symbol lookup error: /usr/lib/libnixstore.so: undefined symbol: _ZN3Aws8Transfer15TransferManager10UploadFileERKSt10shared_ptrISdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_SD_RKSt3mapISB_SB_St4lessISB_ESaISt4pairISC_SB_EEERKS2_IKNS_6Client18AsyncCallerContextEE

I've reported this to the AWS SDK repository but it should also be fixable by rebuilding the nix package since the change is API compatible.

Additional info:

Steps to reproduce:

  1. Attempt to run any program that links to libnixstore.so, e.g. nix-channel