This commit is contained in:
parent
9d633a6215
commit
abba2e62b4
|
@ -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');
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue