anchor.diff:              type = types.path;
               default = "${pkgs.sourcehut.gitsrht}/bin/gitsrht-update-hook";
               defaultText = "\${pkgs.sourcehut.gitsrht}/bin/gitsrht-update-hook";
  -            # Git hooks are run relative to their repository's directory,
  -            # but gitsrht-update-hook looks up ../config.ini
  -            apply = p: pkgs.writeShellScript "update-hook-wrapper" ''
  -              set -e
  -              test -e "''${PWD%/*}"/config.ini ||
  -              ln -s /run/sourcehut/gitsrht/config.ini "''${PWD%/*}"/config.ini
  -              exec -a "$0" '${p}' "$@"
  -            '';
             };
             repos = mkOption {
               description = ''
  
positive.code:             type = types.str;
              default = "${cfg.python}/bin/hgsrht-hook-changegroup";
              defaultText = "\${cfg.python}/bin/hgsrht-hook-changegroup";
              # Mercurial's changegroup hooks are run relative to their repository's directory,
              # but hgsrht-hook-changegroup looks up ./config.ini
              apply = p: pkgs.writeShellScript "hook-changegroup-wrapper" ''
                set -e
                test -e "''$PWD"/config.ini ||
                ln -s /run/sourcehut/hgsrht/config.ini "''$PWD"/config.ini
                exec -a "$0" '${p}' "$@"
              '';
            };
            repos = mkOption {
              description = ''
  
negative.code:       baseService = {
          path = [ cfg.hg.package ];
          serviceConfig.BindPaths = [ "${cfg.settings."hg.sr.ht".repos}:/var/lib/sourcehut/hgsrht/repos" ];
        };
        in {
        inherit configIniOfService;
  