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/cross-compilation.xml | |
parent | 5c26dc3d8460a747622bffd89139b27762154015 (diff) | |
download | nixlib-54737e329b08cee72dbbedf81431eb425f0ee04f.tar nixlib-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.gz nixlib-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.bz2 nixlib-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.lz nixlib-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.xz nixlib-54737e329b08cee72dbbedf81431eb425f0ee04f.tar.zst nixlib-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/cross-compilation.xml')
-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 a41240570c6d..40cf11304eae 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 |