anchor.diff:  
       # Workaround hardcoded dep on "libcurses" (vs "libncurses"):
       sed -i 's/curses/ncurses/' llbuild/*/*/CMakeLists.txt
  +    # uuid.h is not part of glibc, but of libuuid
  +    sed -i 's|''${GLIBC_INCLUDE_PATH}/uuid/uuid.h|${libuuid.dev}/include/uuid/uuid.h|' swift/stdlib/public/Platform/glibc.modulemap.gyb
   
       PREFIX=''${out/#\/}
       substituteInPlace indexstore-db/Utilities/build-script-helper.py \
  
positive.code:       extra_cmake_options="${stdenv.lib.concatStringsSep "," cmakeFlags}"
    '';
  
    doCheck = false;
  
    checkInputs = [ file ];
  
    # TODO: investigate the non-working tests
    checkPhase = ''
      checkTarget=check-swift-all
      ninjaFlags='-C buildbot_linux/swift-${stdenv.hostPlatform.parsed.kernel.name}-${stdenv.hostPlatform.parsed.cpu.name}'
  
      ninjaCheckPhase
    '';
  
  
negative.code:     wrapProgram $out/bin/swift \
        --suffix C_INCLUDE_PATH : $out/lib/swift/clang/include \
        --suffix CPLUS_INCLUDE_PATH : $out/lib/swift/clang/include \
        --suffix LIBRARY_PATH : ${icu}/lib:${libuuid.out}/lib
    '';
  
    # Hack to avoid build and install directories in RPATHs.
  