diff --git a/doc/cross-compilation.xml b/doc/cross-compilation.xml index 028fd674491..3e67944e58f 100644 --- a/doc/cross-compilation.xml +++ b/doc/cross-compilation.xml @@ -253,7 +253,8 @@ or also with crossSystem, in which case packages run on the latter, but all building happens on the former. Both parameters take the same schema as the 3 (build, host, and target) platforms defined in the previous section. As mentioned above, lib.systems.examples has some platforms which are used as arguments for these parameters in practice. - You can use them programmatically, or on the command line like nix-build <nixpkgs> --arg crossSystem '(import <nixpkgs/lib>).systems.examples.fooBarBaz'. + You can use them programmatically, or on the command line: +nix-build <nixpkgs> --arg crossSystem '(import <nixpkgs/lib>).systems.examples.fooBarBaz' -A whatever While one is free to pass both parameters in full, there's a lot of logic to fill in missing fields.