From 6dc9e45fc813cef31b4b083a3e457cb86d30a77f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 9 Mar 2009 17:37:57 +0000 Subject: [PATCH] * Doh. --- src/lib/Hydra/View/NixExprs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/View/NixExprs.pm b/src/lib/Hydra/View/NixExprs.pm index 6d3ebc60..ac9eed7b 100644 --- a/src/lib/Hydra/View/NixExprs.pm +++ b/src/lib/Hydra/View/NixExprs.pm @@ -22,7 +22,7 @@ sub process { my $res = "[\n"; foreach my $name (keys %{$c->stash->{nixPkgs}}) { - my $build = $c->stash->{nixPkgs}->{$name}; + my $build = $c->stash->{nixPkgs}->{$name}->{build}; $res .= " # $name\n"; $res .= " { type = \"derivation\";\n"; $res .= " name = " . escape ($build->resultInfo->releasename or $build->nixname) . ";\n";