diff --git a/src/lib/Hydra/Controller/Build.pm b/src/lib/Hydra/Controller/Build.pm index 25084f29..0dc01b65 100644 --- a/src/lib/Hydra/Controller/Build.pm +++ b/src/lib/Hydra/Controller/Build.pm @@ -65,8 +65,9 @@ sub build_GET { my $build = $c->stash->{build}; $c->stash->{template} = 'build.tt'; + $c->stash->{isLocalStore} = isLocalStore(); $c->stash->{available} = - isLocalStore + $c->stash->{isLocalStore} ? all { isValidPath($_->path) } $build->buildoutputs->all : 1; $c->stash->{drvAvailable} = isValidPath $build->drvpath; diff --git a/src/root/build.tt b/src/root/build.tt index b4d68b25..8b7171a9 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -140,7 +140,7 @@ END; [% IF steps.size() > 0 %]