From e51a6a4bca61104472f3d68e790198a55ed210f4 Mon Sep 17 00:00:00 2001
From: Tyson Whitehead
+[% ELSE %] @@ -519,9 +519,9 @@ END;# nix build [% HTML.escape(eval.flake) %]#hydraJobs.[% HTML.escape(job) %] - +
To download and execute the script from the command line, run the following command:
-+[% END %] diff --git a/src/root/channel-contents.tt b/src/root/channel-contents.tt index eb0d9460..083d6ae5 100644 --- a/src/root/channel-contents.tt +++ b/src/root/channel-contents.tt @@ -6,21 +6,24 @@ href="http://nixos.org/">Nix package manager. If you have Nix installed, you can subscribe to this channel by once executing -# curl url) %]>[% HTML.escape(url) %] | bash - +
-$ nix-channel --add [% curUri +%] -$ nix-channel --update++$ nix-channel --add [% curUri +%] +$ nix-channel --update +You can then query and install packages in the normal way, e.g.,
--$ nix-env -qa '*' -$ nix-env -i foo+diff --git a/src/root/jobset.tt b/src/root/jobset.tt index 3005730b..783eee76 100644 --- a/src/root/jobset.tt +++ b/src/root/jobset.tt @@ -117,7 +117,7 @@ [% IF jobset.errormsg || jobset.fetcherrormsg %]+$ nix-env -qa '*' +$ nix-env -i foo +You can update to the latest versions of the packages in this channel by executing
--$ nix-channel --update -$ nix-env -u '*'+[% IF genericChannel %] diff --git a/src/root/jobset-eval.tt b/src/root/jobset-eval.tt index 67f7fcec..e2702310 100644 --- a/src/root/jobset-eval.tt +++ b/src/root/jobset-eval.tt @@ -109,7 +109,7 @@ c.uri_for(c.controller('JobsetEval').action_for('view'), [% IF eval.evaluationerror.errormsg %]+$ nix-channel --update +$ nix-env -u '*' +[% END %] @@ -173,7 +173,7 @@ c.uri_for(c.controller('JobsetEval').action_for('view'), [% IF eval.evaluationerror.errormsg %]Errors occurred at [% INCLUDE renderDateTime timestamp=(eval.evaluationerror.errortime || eval.timestamp) %].
-[% HTML.escape(eval.evaluationerror.errormsg) %]+[% HTML.escape(eval.evaluationerror.errormsg) %][% END %]Errors occurred at [% INCLUDE renderDateTime timestamp=(eval.evaluationerror.errortime || eval.timestamp) %].
-[% HTML.escape(eval.evaluationerror.errormsg) %]+[% HTML.escape(eval.evaluationerror.errormsg) %][% END %] diff --git a/src/root/log.tt b/src/root/log.tt index 65a092b9..fcc07d97 100644 --- a/src/root/log.tt +++ b/src/root/log.tt @@ -18,9 +18,9 @@ [% END %] -Errors occurred at [% INCLUDE renderDateTime timestamp=(jobset.errortime || jobset.lastcheckedtime) %].
-[% HTML.escape(jobset.fetcherrormsg || jobset.errormsg) %]+[% HTML.escape(jobset.fetcherrormsg || jobset.errormsg) %]+Loading... -+