@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, s2n-tls, zlib
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, curl, openssl, s2n-tls, zlib
22, aws-crt-cpp
33, aws-c-cal, aws-c-common, aws-c-event-stream, aws-c-io, aws-checksums
44, CoreAudio, AudioToolbox
@@ -82,6 +82,12 @@ stdenv.mkDerivation rec {
8282
8383 patches = [
8484 ./cmake-dirs.patch
85+
86+ # fix cmake config
87+ (fetchpatch {
88+ url = "https://github.com/aws/aws-sdk-cpp/commit/b102aaf5693c4165c84b616ab9ffb9edfb705239.diff";
89+ sha256 = "sha256-38QBo3MEFpyHPb8jZEURRPkoeu4DqWhVeErJayiHKF0=";
90+ })
8591 ];
8692
8793 # Builds in 2+h with 2 cores, and ~10m with a big-parallel builder.