anchor.diff:      # The variables to substitute:
       
       inherit reposDir dbDir logDir distsDir backupsDir tmpDir
  -      urlPrefix adminAddr fsType subversion postCommitHook;
  +      urlPrefix adminAddr fsType subversion postCommitHook mailer;
       inherit (config) notificationSender userCreationDomain;
       orgUrl = config.organisation.url;
       orgLogoUrl = config.organisation.logo;
  
positive.code:       pkgs.perlPackages.StringMkPasswd
      ];
  
      # Do a syntax check on the generated file.
      postInstall = ''
        $perl -c -T $out/cgi-bin/repoman.pl
  
negative.code:       fi
      '';
    };
  
  
    # Extract the mailer script from the Subversion source distribution.
    mailer = pkgs.runCommand "svn-mailer.py" { inherit (subversion) src; }
      ''
        unpackFile $src
        cp subversion-*/tools/hook-scripts/mailer/mailer.py $out
      '';
  
    
    # Build our custom authentication modules.
  