This commit is contained in:
Eelco Dolstra 2009-03-03 14:21:27 +00:00
parent 187da72ecd
commit e9b3c89c68
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ sub closure : Chained('nix') PathPart {
}
sub manifest : Chained('nix') PathPart Args(0) {
sub manifest : Chained('nix') PathPart("MANIFEST") Args(0) {
my ($self, $c) = @_;
$c->stash->{current_view} = 'Hydra::View::NixManifest';
$c->stash->{narBase} = $c->uri_for($self->action_for("nar"), $c->req->captures);

View file

@ -529,7 +529,7 @@ sub job :Local {
}
sub nix : Chained('/') PathPart('nix') CaptureArgs(0) {
sub nix : Chained('/') PathPart('channel/latest') CaptureArgs(0) {
my ($self, $c) = @_;
my @builds = getLatestBuilds($c, $c->model('DB::Builds')); # !!! this includes failed builds