diff --git a/src/lib/Hydra/Controller/Jobset.pm b/src/lib/Hydra/Controller/Jobset.pm index ef633201..1b9a82d8 100644 --- a/src/lib/Hydra/Controller/Jobset.pm +++ b/src/lib/Hydra/Controller/Jobset.pm @@ -361,7 +361,7 @@ sub getEvals { foreach my $input (@{$curInputs}) { my $p = $prevInputsHash{$input->name}; push @changedInputs, $input - if !defined $p || $input->revision ne $p->revision || $input->type ne $p->type || $input->uri ne $p->uri || + if !defined $p || ($input->revision || "") ne ($p->revision || "") || $input->type ne $p->type || ($input->uri || "") ne ($p->uri || "") || ( defined $input->dependency && defined $p->dependency && $input->dependency->id ne $p->dependency->id); } $prevInputs = $curInputs; diff --git a/src/lib/Hydra/Controller/Root.pm b/src/lib/Hydra/Controller/Root.pm index 79211fc4..b7c233e8 100644 --- a/src/lib/Hydra/Controller/Root.pm +++ b/src/lib/Hydra/Controller/Root.pm @@ -194,6 +194,13 @@ sub nar :Local :Args(1) { $c->stash->{storePath} = $path; } + +sub narinfo :Path('*.narinfo') { + my ($self, $c) = @_; + $c->stash->{current_view} = 'NixInfo'; +} + + sub change_password : Path('change-password') : Args(0) { my ($self, $c) = @_; @@ -202,6 +209,7 @@ sub change_password : Path('change-password') : Args(0) { $c->stash->{template} = 'change-password.tt'; } + sub change_password_submit : Path('change-password/submit') : Args(0) { my ($self, $c) = @_; @@ -219,6 +227,7 @@ sub change_password_submit : Path('change-password/submit') : Args(0) { $c->res->redirect("/"); } + sub logo :Local { my ($self, $c) = @_; my $path = $ENV{"HYDRA_LOGO"} or die("Logo not set!");