anchor.diff:          cd ../druntime
           make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd}
           cd ../phobos
  -        make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd} TZ_DATABASE_DIR=${tzdata}/share/zoneinfo/
  +        echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile
  +        make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd} DFLAGS="-version=TZDatabaseDir -J$(pwd)"
           cd ..
       '';
   
       # Disable tests on Darwin for now because of
       # https://github.com/NixOS/nixpkgs/issues/41099
  -    doCheck = !stdenv.hostPlatform.isDarwin;
  +    doCheck = true;
   
       checkPhase = ''
           cd dmd
  
positive.code:         # Remove cppa test for now because it doesn't work.
          rm dmd/test/runnable/cppa.d
          rm dmd/test/runnable/extra-files/cppb.cpp
      '';
  
      # Compile with PIC to prevent colliding modules with binutils 2.28.
      # https://issues.dlang.org/show_bug.cgi?id=17375
      usePIC = "-fPIC";
      ROOT_HOME_DIR = "$(echo ~root)";
  
      phobosPatches = ''
          # Ugly hack so the dlopen call has a chance to succeed.
  
negative.code: , makeWrapper, unzip, which
  , curl, tzdata, gdb, darwin
  , callPackage, targetPackages, ldc
  , version ? "2.083.1"
  , dmdSha256 ? "0b52yq7slgbrawb22kib9bk2x9xjiy6axwz1317fck5axl093d90"
  , druntimeSha256 ? "1hm9p59ih21yv8x7cqjhkyy94677q4f8wk9fs9i1rybx8x19njyn"
  , phobosSha256 ? "1zmz0f1wj0dgxy2cy63ljjc1sl2sgb7ij8bamlxw9nxrchwi3l43"
  }:
  
  let
  