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XC4LC2Y6SF4TYGY3I6TSNMLYV27GUQC
ZHHFJ4K5TNNOUVAFCCNLXMU5SQ2SBJA5OFT53RIBW7IJEARFI7XAC
error($c, "Derivation no longer available.") unless isValidPath $drvPath;
$c->stash->{buildTimeGraph} = getDependencyGraph($self, $c, 0, {}, $drvPath);
$c->stash->{template} = 'build-deps.tt';
}
sub runtime_deps : Chained('build') PathPart('runtime-deps') {
my ($self, $c) = @_;
my $build = $c->stash->{build};
if ($c->stash->{available}) {
my $done = {};
$c->stash->{runtimeGraph} = [ map { getDependencyGraph($self, $c, 1, $done, $_) } @outPaths ];
}
my $done = {};
$c->stash->{runtimeGraph} = [ map { getDependencyGraph($self, $c, 1, $done, $_) } @outPaths ];
if ($c->stash->{drvAvailable}) {
my $done = {};
$c->stash->{buildTimeGraph} = getDependencyGraph($self, $c, 0, $done, $drvPath);
}
$c->stash->{template} = 'deps.tt';
$c->stash->{template} = 'runtime-deps.tt';
[% PROCESS deps.tt %]
<div class="dep-tree">
<ul class="tree">
[% INCLUDE renderNode node=buildTimeGraph %]
</ul>
</div>
<td><tt>[% INCLUDE renderOutputs outputs=build.buildoutputs %]</tt> [% IF available %](<a href="[% c.uri_for('/build' build.id 'deps') %]#runtime">runtime dependencies</a>)[% END %]</td>
<td><tt>[% INCLUDE renderOutputs outputs=build.buildoutputs %]</tt></td>
[% END %]
[% IF drvAvailable %]
<div id="tabs-build-deps" class="tab-pane"><i class="icon-time icon-black"></i></div>
<script>
$('#tabs-build-deps').load("[% c.uri_for('/build' build.id 'build-deps') %]");
</script>
[% END %]
[% IF available %]
<div id="tabs-runtime-deps" class="tab-pane"><i class="icon-time icon-black"></i></div>
<script>
$('#tabs-runtime-deps').load("[% c.uri_for('/build' build.id 'runtime-deps') %]");
</script>
[% END %]
<section><h2 id="runtime">Runtime dependency graph</h2>
[% IF available %]
<ul class="tree">
[% done={}; FOREACH node IN runtimeGraph; INCLUDE renderNode; END %]
</ul>
[% ELSE %]
<p><em>No longer available.</em></p>
[% END %]
</section>
<br />
<section><h2 id="buildtime">Build-time dependency graph</h2>
[% IF drvAvailable %]
<ul class="tree">
[% INCLUDE renderNode node=buildTimeGraph %]
</ul>
[% ELSE %]
<p><em>No longer available.</em></p>
[% END %]
</section>
[% PROCESS deps.tt %]
<div class="dep-tree">
<ul class="tree">
[% FOREACH node IN runtimeGraph; INCLUDE renderNode; END %]
</ul>
</div>