anchor.diff:      doCheck = false;
   
       buildPhase = ''
  +      buildFlagsArray=(-v -p $NIX_BUILD_CORES -ldflags="-s -w")
         runHook preBuild
  -
  -      go build -o v2ray v2ray.com/core/main
  -      go build -o v2ctl v2ray.com/core/infra/control/main
  -
  +      go build "''${buildFlagsArray[@]}" -o v2ray ./main
  +      go build "''${buildFlagsArray[@]}" -o v2ctl -tags confonly ./infra/control/main
         runHook postBuild
       '';
   
  
positive.code: }:
  
  let
    version = "4.33.0";
  
    src = fetchFromGitHub {
      owner = "v2fly";
      repo = "v2ray-core";
      rev = "v${version}";
      sha256 = "05w714i56nipp7m985g6zqq6ljz0w5ihxrgs93j10llfdd089iig";
    };
  
    vendorSha256 = "0ix5kxldgbcb10jh0l64lrh8qzla4qvsxi6vanb73y7lbsix120w";
  
    assets = {
      # MIT licensed
      "geoip.dat" = let
        geoipRev = "202012030015";
        geoipSha256 = "1qy9h0721y5kjcp0s859lhj253jfi3d3i658gpc4kmij2l5dxm5w";
      in fetchurl {
        url = "https://github.com/v2fly/geoip/releases/download/${geoipRev}/geoip.dat";
        sha256 = geoipSha256;
  
negative.code: 
      # MIT licensed
      "geosite.dat" = let
        geositeRev = "20210106164413";
        geositeSha256 = "0chc7jb3yzgrrjkpd3s1rlim5qgf6j2kp952fvkhpwmnap86aip7";
      in fetchurl {
        url = "https://github.com/v2fly/domain-list-community/releases/download/${geositeRev}/dlc.dat";
        sha256 = geositeSha256;
  