forked from lix-project/hydra
This commit is contained in:
parent
33f3bee810
commit
19c3c83794
2 changed files with 6 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
||||||
<p>The package can then be found in the path <tt>[%
|
<p>The package can then be found in the path <tt>[%
|
||||||
product.path %]</tt>. You’ll probably also want to do
|
product.path %]</tt>. You’ll probably also want to do
|
||||||
|
|
||||||
<pre>nix-env -i [% product.path %]</pre>
|
<pre>$ nix-env -i [% product.path %]</pre>
|
||||||
|
|
||||||
to actually install the package in your Nix user environment.</p>
|
to actually install the package in your Nix user environment.</p>
|
||||||
|
|
||||||
|
@ -90,6 +90,8 @@
|
||||||
“README” file
|
“README” file
|
||||||
[% CASE "manual" %]
|
[% CASE "manual" %]
|
||||||
Manual
|
Manual
|
||||||
|
[% CASE "release-notes" %]
|
||||||
|
Release notes
|
||||||
[% CASE DEFAULT %]
|
[% CASE DEFAULT %]
|
||||||
Documentation of type <tt>[% product.subtype %]</tt>
|
Documentation of type <tt>[% product.subtype %]</tt>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
|
@ -346,9 +346,10 @@ sub checkJobSet {
|
||||||
|
|
||||||
# Fetch the input containing the Nix expression.
|
# Fetch the input containing the Nix expression.
|
||||||
(my $exprInput) = $jobset->jobsetinputs->search({name => $jobset->nixexprinput});
|
(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);
|
fetchInput($exprInput, $exprInput->jobsetinputalts->first, $inputInfo);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue