This commit is contained in:
Eelco Dolstra 2009-02-26 21:33:29 +00:00
parent 9d633a6215
commit abba2e62b4
2 changed files with 3 additions and 1 deletions

View file

@ -49,6 +49,8 @@ sub pkg : Chained('nix') PathPart Args(1) {
$c->stash->{build} = $pkg;
$c->stash->{manifestUri} = $c->uri_for($self->action_for("manifest"), $c->req->captures);
$c->stash->{current_view} = 'Hydra::View::NixPkg';
$c->response->content_type('application/nix-package');

View file

@ -10,7 +10,7 @@ sub process {
my $build = $c->stash->{build};
my $s = "NIXPKG1 " . $c->uri_for("manifest", $build->id)
my $s = "NIXPKG1 " . $c->stash->{manifestUri}
. " " . $build->nixname . " " . $build->system
. " " . $build->drvpath . " " . $build->outpath;