1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

* Top-level redirect to the repoman.

svn path=/nixos/trunk/; revision=10758
This commit is contained in:
Eelco Dolstra 2008-02-19 16:52:24 +00:00
parent 20881fe84b
commit 5d2435d460

View file

@ -301,6 +301,12 @@ in {
${distConfig}
${staticFilesConfig}
${if config.toplevelRedirect then ''
<Location />
DirectoryIndex repoman
</Location>
'' else ""}
'';
@ -341,6 +347,15 @@ in {
";
};
toplevelRedirect = mkOption {
default = true;
description = "
Whether <varname>urlPrefix</varname> without any suffix
(except a slash) should redirect to
<varname>urlPrefix</varname><literal>/repoman</literal>.
";
};
notificationSender = mkOption {
default = "svn-server@example.org";
example = "svn-server@example.org";