.nixpkgs: Drop obsolete manifest URI

This commit is contained in:
Eelco Dolstra 2016-03-02 15:24:23 +01:00
parent ec82bc2517
commit 8b4f90b0d4
2 changed files with 1 additions and 3 deletions

View file

@ -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');

View file

@ -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('/');