diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-28 16:00:43 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 16:00:43 -0600 |
commit | 54737e329b08cee72dbbedf81431eb425f0ee04f (patch) | |
tree | a8e72f2696cb6a9809877a51b3ec134d1358368f /doc | |
parent | 5c26dc3d8460a747622bffd89139b27762154015 (diff) | |
download | nixpkgs-54737e329b08cee72dbbedf81431eb425f0ee04f.tar nixpkgs-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.gz nixpkgs-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.bz2 nixpkgs-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.lz nixpkgs-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.xz nixpkgs-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.zst nixpkgs-54737e329b08cee72dbbedf81431eb425f0ee04f.zip |
doc: fix incorrect example
For whatever reason, nix-build ... --argstr a.b "c" doesn't work. It fails quitely so it's best to use an example here that works.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cross-compilation.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cross-compilation.xml b/doc/cross-compilation.xml index a41240570c6..40cf11304ea 100644 --- a/doc/cross-compilation.xml +++ b/doc/cross-compilation.xml @@ -385,7 +385,7 @@ nix-build <nixpkgs> --arg crossSystem '(import <nixpkgs/lib>).system Eventually we would like to make these platform examples an unnecessary convenience so that <programlisting> -nix-build <nixpkgs> --arg crossSystem.config '<arch>-<os>-<vendor>-<abi>' -A whatever</programlisting> +nix-build <nixpkgs> --arg crossSystem '{ config = "<arch>-<os>-<vendor>-<abi>"; }' -A whatever</programlisting> works in the vast majority of cases. The problem today is dependencies on other sorts of configuration which aren't given proper defaults. We rely on the examples to crudely to set those configuration parameters in some |