forked from lix-project/hydra
.nixpkgs: Drop obsolete manifest URI
This commit is contained in:
parent
ec82bc2517
commit
8b4f90b0d4
|
@ -87,8 +87,6 @@ sub pkg : Chained('nix') PathPart Args(1) {
|
|||
gone($c, "Build " . $c->stash->{build}->id . " is no longer available.")
|
||||
unless all { isValidPath($_->path) } $c->stash->{build}->buildoutputs->all;
|
||||
|
||||
$c->stash->{manifestUri} = $c->uri_for($self->action_for("manifest"), $c->req->captures);
|
||||
|
||||
$c->stash->{current_view} = 'NixPkg';
|
||||
|
||||
$c->response->content_type('application/nix-package');
|
||||
|
|
|
@ -11,7 +11,7 @@ sub process {
|
|||
my $build = $c->stash->{build};
|
||||
|
||||
# FIXME: add multiple output support
|
||||
my $s = "NIXPKG1 " . $c->stash->{manifestUri}
|
||||
my $s = "NIXPKG1 http://invalid.org/"
|
||||
. " " . $build->nixname . " " . $build->system
|
||||
. " " . $build->drvpath . " " . $build->buildoutputs->find({name => "out"})->path
|
||||
. " " . $c->uri_for('/');
|
||||
|
|
Loading…
Reference in a new issue