anchor.diff: -{ stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
  +{ stdenv, fetchFromGitHub, fetchpatch, curl, dmd, libevent, rsync }:
   
   let
   
     dubBuild = stdenv.mkDerivation rec {
       name = "dubBuild-${version}";
  -    version = "1.6.0";
  +    version = "1.7.1";
   
       enableParallelBuilding = true;
   
  
positive.code:     outputHash = builtins.hashString "sha256" inputString;
  
      src = dubBuild.src;
  
      postPatch = dubBuild.postPatch;
  
  
negative.code:       owner = "dlang";
        repo = "dub";
        rev = "v${version}";
        sha256 = "09bcc9bq2z1rbm8sdip1l81y5p8q13r30k02lzifyasiplrnpvlv";
      };
  
      patches = [
        # TODO Remove with next release which contains https://github.com/dlang/dub/pull/1354
        (fetchpatch {
          url = "https://patch-diff.githubusercontent.com/raw/dlang/dub/pull/1354.patch";
          sha256 = "01alky8a91qwjmlnfjbrn8kiivwr69f3j4c84cjlxrzfp1ph20ah";
        })
      ];
  
      postPatch = ''
        # Avoid that the version file is overwritten
  