anchor.diff:          #
           #==============================
           #Test failed: expected rc == 0, exited with rc == 1
  -        rm tests/d2/dmd-testsuite/runnable/variadic.d
  +        rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/variadic.d
       ''
   
       + stdenv.lib.optionalString (!bootstrapVersion) ''
   	    # http://forum.dlang.org/thread/xtbbqthxutdoyhnxjhxl@forum.dlang.org
  -	    rm -r tests/dynamiccompile
  +	    rm -r ldc-${version}-src/tests/dynamiccompile
  +
  +            # https://github.com/NixOS/nixpkgs/issues/34817
  +	    rm -r ldc-${version}-src/tests/plugins/addFuncEntryCall
       '';
   
       ROOT_HOME_DIR = "$(echo ~root)";
  
positive.code:     buildCmd = if bootstrapVersion then
        "ctest -V -R \"build-druntime-ldc-unittest|build-phobos2-ldc-unittest\""
      else
        "make -j$NIX_BUILD_CORES DMD=${ldcBuild}/bin/ldc2 druntime-test-runner druntime-test-runner-debug phobos2-test-runner phobos2-test-runner-debug";
  
      testCmd = if bootstrapVersion then
        "ctest -j$NIX_BUILD_CORES --output-on-failure -E \"dmd-testsuite|lit-tests|ldc2-unittest|llvm-ir-testsuite\""
  
negative.code: 
      buildPhase = ''
          ${buildCmd}
          ln -s ${ldcBuild.out}/bin/ldmd2 $PWD/bin/ldmd2
          ${testCmd}
      '';
  
  