diff --git a/src/Hydra/root/product-list.tt b/src/Hydra/root/product-list.tt index f85570be..6dd264a5 100644 --- a/src/Hydra/root/product-list.tt +++ b/src/Hydra/root/product-list.tt @@ -28,7 +28,7 @@
The package can then be found in the path [% product.path %]. You’ll probably also want to do -
nix-env -i [% product.path %]+
$ nix-env -i [% product.path %]to actually install the package in your Nix user environment. @@ -90,6 +90,8 @@ “README” file [% CASE "manual" %] Manual + [% CASE "release-notes" %] + Release notes [% CASE DEFAULT %] Documentation of type [% product.subtype %] [% END %] diff --git a/src/Hydra/script/hydra_scheduler.pl b/src/Hydra/script/hydra_scheduler.pl index 7f88aa94..b8d40234 100755 --- a/src/Hydra/script/hydra_scheduler.pl +++ b/src/Hydra/script/hydra_scheduler.pl @@ -346,9 +346,10 @@ sub checkJobSet { # Fetch the input containing the Nix expression. (my $exprInput) = $jobset->jobsetinputs->search({name => $jobset->nixexprinput}); - die unless defined $exprInput; + die "No input named " . $jobset->nixexprinput unless defined $exprInput; - die "not supported yet" if scalar($exprInput->jobsetinputalts) != 1; + die "Multiple alternatives for the Nix expression input not supported yet" + if scalar($exprInput->jobsetinputalts) != 1; fetchInput($exprInput, $exprInput->jobsetinputalts->first, $inputInfo);