anchor.diff:      cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball {
         inherit src;
         name = "mercurial-${version}";
  -      sha256 = "sha256-HYH7+OD11kdZdxFrx1KVle1NesS3fAgwVXJpAeiXDTo=";
  +      sha256 = "sha256-OSaeOp+SjQ5n61jV8UthtQQqkneBYJhESoQDCwRSTco=";
         sourceRoot = "mercurial-${version}/rust";
       } else null;
       cargoRoot = if rustSupport then "rust" else null;
  
positive.code:     EOF
  
      export HGTEST_REAL_HG="${mercurial}/bin/hg"
      # extended timeout necessary for tests to pass on the busy CI workers
      export HGTESTFLAGS="--blacklist blacklists/nix --timeout 1800 -j$NIX_BUILD_CORES ${flags}"
      make check
  
negative.code: 
    self = python3Packages.buildPythonApplication rec {
      pname = "mercurial${lib.optionalString fullBuild "-full"}";
      version = "6.1.2";
  
      src = fetchurl {
        url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz";
        sha256 = "sha256-pSgQ/AFAmCjEl00Lwsu1yA6UjVtYTPsadpliPpJKLyo=";
      };
  
      format = "other";
  