Skip to content

Commit ca86783

Browse files
committed
Clarify what happens with the out paths in the db
Only ca derivations might have an empty `path` field (because this one will only be known at a later stage)
1 parent a12704f commit ca86783

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/Hydra/Controller/Build.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ sub build_GET {
6666

6767
$c->stash->{template} = 'build.tt';
6868
$c->stash->{isLocalStore} = isLocalStore();
69-
# XXX: If ca-derivations is enabled then this will always return false
70-
# because `$_->path` will be empty
69+
# XXX: If the derivation is content-addressed then this will always return
70+
# false because `$_->path` will be empty
7171
$c->stash->{available} =
7272
$c->stash->{isLocalStore}
7373
? all { $_->path && isValidPath($_->path) } $build->buildoutputs->all

0 commit comments

Comments
 (0)