anchor.diff:      findFirst hasPrefix mapAttrsToList mkIf
       mkOption optionalString removeSuffix ;
     inherit (lib.types)
  -    bool enum int listOf nullOr path str submodule ;
  +    bool enum int listOf nullOr package path str submodule ;
   
     cfg = config.nixsap.apps.pgbackup;
     privateDir = "/run/pgbackup";
  
positive.code: 
  in {
    options.nixsap.apps.pgbackup = {
      user = mkOption {
        description = "User to run as";
        default = "pgbackup";
  
negative.code:       # XXX: Use the latest pg_dump:
        pg_dump = pkgs.writeBashScript name ''
          ${optionalString (cfg.pgpass != null) "export PGPASSFILE='${cfg.pgpass}'"}
          exec ${cfg.package}/bin/pg_dump \
            ${concatMapAttrsSep " " mkArg args} \
            "$@"
        '';
  