anchor.diff:      "-X main.version=${version}"
     ];
   
  -  checkInputs = [ git ];
  -
  -  preCheck = ''
  -    # Test all targets.
  -    unset subPackages
  -  '';
  +  # Checks rely on .git directory, leaveDotGit makes the source derivation flaky.
  +  doCheck = false;
   
     passthru.tests.version = testers.testVersion {
       package = zlint;
  
positive.code: { lib
  , buildGoModule
  , fetchFromGitHub
  , git
  , testers
  , zlint
  }:
  
negative.code:     owner = "zmap";
      repo = "zlint";
      rev = "v${version}";
      hash = "sha256-l39GdfEKUAw5DQNjx6ZBgfGtengRlUUasm0G07kAA2A=";
    };
  
    modRoot = "v3";
  