diff --git a/src/root/build.tt b/src/root/build.tt index 750ae474..b563ebb1 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -120,7 +120,7 @@ END;
You can reproduce this build on your own machine by downloading - url) %]>a script that checks out - all inputs of the build and then invokes Nix to perform the build. - This script requires that you have Nix on your system.
+ [% IF eval.flake %] + +If you have Nix + installed, you can reproduce this build on your own machine by + running the following command:
+ +
+# nix build [% HTML.escape(eval.flake) %]:hydraJobs.[% HTML.escape(job.name) %]
+
+
+ [% ELSE %]
+
+ If you have Nix + installed, you can reproduce this build on your own machine by + downloading url) %]>a script + that checks out all inputs of the build and then invokes Nix to + perform the build.
To download and execute the script from the command line, run the following command:
-$ curl url) %]>[% HTML.escape(url) %] | bash +# curl url) %]>[% HTML.escape(url) %] | bash+ [% END %] +