* Add derivations and all build-time dependencies of a build to the

Hydra channels.  This includes sources.
This commit is contained in:
Eelco Dolstra
2010-01-19 16:47:32 +00:00
parent a2a041303f
commit 4b0bc65cbb
3 changed files with 9 additions and 3 deletions

View File

@ -265,7 +265,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->outpath];
$c->stash->{storePaths} = [$build->drvpath];
my $pkgName = $build->nixname . "-" . $build->system;
$c->stash->{nixPkgs} = {"${pkgName}.nixpkg" => {build => $build, name => $pkgName}};