anchor.diff:        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.
  
positive.code:     # The variables to substitute:
      
      inherit reposDir dbDir logDir distsDir backupsDir tmpDir
        urlPrefix adminAddr fsType subversion postCommitHook;
      inherit (config) notificationSender userCreationDomain;
      orgUrl = config.organisation.url;
      orgLogoUrl = config.organisation.logo;
  
negative.code: 
      sendmail = "${pkgs.ssmtp}/sbin/sendmail";
      
      inherit (pkgs) libxslt enscript db4 coreutils diffutils bzip2 python;
  
      inherit (serverInfo) canonicalName;
  
  