* hydra: download closure now makes closure of outpath in stead of useless drvpath

This commit is contained in:
Rob Vermaas 2010-02-18 15:09:13 +00:00
parent 77d4a8c027
commit fb8ab7a574

View file

@ -330,7 +330,7 @@ sub nix : Chained('build') PathPart('nix') CaptureArgs(0) {
notFound($c, "Path " . $build->outpath . " is no longer available.")
unless isValidPath($build->outpath);
$c->stash->{storePaths} = [$build->drvpath];
$c->stash->{storePaths} = [$build->outpath];
my $pkgName = $build->nixname . "-" . $build->system;
$c->stash->{nixPkgs} = {"${pkgName}.nixpkg" => {build => $build, name => $pkgName}};