anchor.diff:  
   stdenv.mkDerivation rec {
     pname = "aws-sdk-cpp";
  -  version = if stdenv.system == "i686-linux" then "1.9.150"
  -    else "1.9.294";
  +  version = "1.9.294";
   
     src = fetchFromGitHub {
       owner = "aws";
       repo = "aws-sdk-cpp";
       rev = version;
  -    sha256 = if version == "1.9.150" then "fgLdXWQKHaCwulrw9KV3vpQ71DjnQAL4heIRW7Rk7UY="
  -      else "sha256-Z1eRKW+8nVD53GkNyYlZjCcT74MqFqqRMeMc33eIQ9g=";
  +    sha256 = "sha256-Z1eRKW+8nVD53GkNyYlZjCcT74MqFqqRMeMc33eIQ9g=";
     };
  +
  +  patches = [
  +    ./cmake-dirs.patch
  +  ];
   
     postPatch = ''
       # Missing includes for GCC11
  
positive.code:   '' + lib.optionalString stdenv.hostPlatform.isMusl ''
      # TestRandomURLMultiThreaded fails
      rm aws-cpp-sdk-core-tests/http/HttpClientTest.cpp
    '';
  
    # FIXME: might be nice to put different APIs in different outputs
  
negative.code:   ] ++ lib.optional (apis != ["*"])
      "-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
  
    # aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp
    # seem to have a datarace
    enableParallelChecking = false;
  