forked from lix-project/hydra
* hydra: download closure now makes closure of outpath in stead of useless drvpath
This commit is contained in:
parent
77d4a8c027
commit
fb8ab7a574
|
@ -330,7 +330,7 @@ sub nix : Chained('build') PathPart('nix') CaptureArgs(0) {
|
||||||
notFound($c, "Path " . $build->outpath . " is no longer available.")
|
notFound($c, "Path " . $build->outpath . " is no longer available.")
|
||||||
unless isValidPath($build->outpath);
|
unless isValidPath($build->outpath);
|
||||||
|
|
||||||
$c->stash->{storePaths} = [$build->drvpath];
|
$c->stash->{storePaths} = [$build->outpath];
|
||||||
|
|
||||||
my $pkgName = $build->nixname . "-" . $build->system;
|
my $pkgName = $build->nixname . "-" . $build->system;
|
||||||
$c->stash->{nixPkgs} = {"${pkgName}.nixpkg" => {build => $build, name => $pkgName}};
|
$c->stash->{nixPkgs} = {"${pkgName}.nixpkg" => {build => $build, name => $pkgName}};
|
||||||
|
|
Loading…
Reference in a new issue