anchor.diff:      doCheck = true;
   
       checkPhase = ''
  -	# Build and run LDC D unittests.
  -	ctest --output-on-failure -R "ldc2-unittest"
  -	# Run LIT testsuite.
  -	ctest -V -R "lit-tests"
  -	# Run DMD testsuite.
  -	DMD_TESTSUITE_MAKE_ARGS=-j$NIX_BUILD_CORES ctest -V -R "dmd-testsuite"
  -    '';
  +      # Build and run LDC D unittests.
  +      ctest --output-on-failure -R "ldc2-unittest"
  +      # Run LIT testsuite.
  +      ctest -V -R "lit-tests"
  +      # Run DMD testsuite.
  +      DMD_TESTSUITE_MAKE_ARGS=-j$NIX_BUILD_CORES ctest -V -R "dmd-testsuite"
  +    '';
  +
  +    postInstall = ''
  +      wrapProgram $out/bin/ldc2 \
  +          --prefix PATH ":" "${targetPackages.stdenv.cc}/bin" \
  +          --set-default CC "${targetPackages.stdenv.cc}/bin/cc"
  +     '';
   
       meta = with stdenv.lib; {
         description = "The LLVM-based D compiler";
  
positive.code:             --replace "tzName == \"+VERSION\"" "baseName(tzName) == \"leapseconds\" || tzName == \"+VERSION\""
      '';
  
      nativeBuildInputs = [ cmake llvm bootstrapLdc python lit gdb unzip ]
  
      ++ stdenv.lib.optional (bootstrapVersion) [
        libconfig
  
negative.code:     ]);
  
  
      buildInputs = [ curl tzdata ];
  
      preConfigure = ''
        cmakeFlagsArray=("-DINCLUDE_INSTALL_DIR=$out/include/dlang/ldc"
  