anchor.diff:        installPhase = "touch $out";
       };
   
  -  patchedNix = lib.mkIf (!lib.versionAtLeast pkgs.nix.version "2.4.0") (
  -    if lib.versionAtLeast pkgs.nix.version "2.4pre"
  -    then lib.warn "Hercules CI Agent module will not patch 2.4 pre-release. Make sure it includes (equivalently) PR #3043, commit d048577909 or is no older than 2020-03-13." pkgs.nix
  -    else pkgs.nix.overrideAttrs (
  -      o: {
  -        patches = (o.patches or []) ++ [ backportNix3398 ];
  -      }
  -    )
  -  );
  -
  -  backportNix3398 = pkgs.fetchurl {
  -    url = "https://raw.githubusercontent.com/hercules-ci/hercules-ci-agent/hercules-ci-agent-0.7.3/for-upstream/issue-3398-path-info-cache-ttls-backport-2.3.patch";
  -    sha256 = "0jfckqjir9il2il7904yc1qyadw366y7xqzg81sp9sl3f1pw70ib";
  -  };
   in
   {
     imports = [
       (mkRenamedOptionModule ["services" "hercules-ci-agent" "extraOptions"] ["services" "hercules-ci-agent" "settings"])
       (mkRenamedOptionModule ["services" "hercules-ci-agent" "baseDirectory"] ["services" "hercules-ci-agent" "settings" "baseDirectory"])
       (mkRenamedOptionModule ["services" "hercules-ci-agent" "concurrentTasks"] ["services" "hercules-ci-agent" "settings" "concurrentTasks"])
  +    (mkRemovedOptionModule ["services" "hercules-ci-agent" "patchNix"] "Nix versions packaged in this version of Nixpkgs don't need a patched nix-daemon to work correctly in Hercules CI Agent clusters.")
     ];
   
     options.services.hercules-ci-agent = {
  
positive.code: { config, lib, options, pkgs, ... }:
  
  let
    inherit (lib) mkOption mkIf types filterAttrs literalExample mkRenamedOptionModule;
  
    cfg =
      config.services.hercules-ci-agent;
  
negative.code:         continuous integation service that is centered around Nix.
  
          Support is available at <link xlink:href="mailto:help@hercules-ci.com">help@hercules-ci.com</link>.
        '';
      };
      checkNix = mkOption {
  