This commit is contained in:
Eelco Dolstra 2009-03-09 17:37:57 +00:00
parent fca7fb20c4
commit 6dc9e45fc8

View file

@ -22,7 +22,7 @@ sub process {
my $res = "[\n"; my $res = "[\n";
foreach my $name (keys %{$c->stash->{nixPkgs}}) { foreach my $name (keys %{$c->stash->{nixPkgs}}) {
my $build = $c->stash->{nixPkgs}->{$name}; my $build = $c->stash->{nixPkgs}->{$name}->{build};
$res .= " # $name\n"; $res .= " # $name\n";
$res .= " { type = \"derivation\";\n"; $res .= " { type = \"derivation\";\n";
$res .= " name = " . escape ($build->resultInfo->releasename or $build->nixname) . ";\n"; $res .= " name = " . escape ($build->resultInfo->releasename or $build->nixname) . ";\n";