diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-05-16 08:40:55 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-05-16 08:45:19 +0100 |
commit | e223eeac09c6468db80ee0497c84960b4ec73e02 (patch) | |
tree | 2ac6d6a5d6496fa9526d4fda68e097daf9a57786 /doc/manual | |
parent | ecd4e52a580db0b928b84c049e72472c00f788db (diff) |
Remove -j option from simple-build-testing
By default Nix/NixOS already set a reasonable default `max-jobs = auto`
so we don't need to mention it in this tutorial.
The option is still documented in other parts of the documentation
if users ever stumble over this.
Fixes https://github.com/NixOS/nix/issues/2531
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/expressions/simple-building-testing.xml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/manual/expressions/simple-building-testing.xml b/doc/manual/expressions/simple-building-testing.xml index 7326a3e76..ce0a1636d 100644 --- a/doc/manual/expressions/simple-building-testing.xml +++ b/doc/manual/expressions/simple-building-testing.xml @@ -73,12 +73,4 @@ waiting for lock on `/nix/store/0h5b7hp8d4hqfrw8igvx97x1xawrjnac-hello-2.1.1x'</ So it is always safe to run multiple instances of Nix in parallel (which isn’t the case with, say, <command>make</command>).</para> -<para>If you have a system with multiple CPUs, you may want to have -Nix build different derivations in parallel (insofar as possible). -Just pass the option <link linkend='opt-max-jobs'><option>-j -<replaceable>N</replaceable></option></link>, where -<replaceable>N</replaceable> is the maximum number of jobs to be run -in parallel, or set. Typically this should be the number of -CPUs.</para> - </section> |