summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-04-14 12:02:14 +0000
committerGitHub <noreply@github.com>2022-04-14 12:02:14 +0000
commit999a16ca632ae8ea042b29869af540abc3372500 (patch)
treed655ea27da2df28899dbc41ceadf17db9378e812 /nixos/doc
parent003eb485832e855468092376ca47a31152fadd87 (diff)
parentf3803e3d17d067e565ac1f9ee6512f908aefd353 (diff)
downloadnixpkgs-999a16ca632ae8ea042b29869af540abc3372500.tar
nixpkgs-999a16ca632ae8ea042b29869af540abc3372500.tar.gz
nixpkgs-999a16ca632ae8ea042b29869af540abc3372500.tar.bz2
nixpkgs-999a16ca632ae8ea042b29869af540abc3372500.tar.lz
nixpkgs-999a16ca632ae8ea042b29869af540abc3372500.tar.xz
nixpkgs-999a16ca632ae8ea042b29869af540abc3372500.tar.zst
nixpkgs-999a16ca632ae8ea042b29869af540abc3372500.zip
Merge staging-next into staging
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/man-nixos-rebuild.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml
index b2ca9f457a2..ea96f49fa97 100644
--- a/nixos/doc/manual/man-nixos-rebuild.xml
+++ b/nixos/doc/manual/man-nixos-rebuild.xml
@@ -548,6 +548,14 @@
       (<replaceable>user@host</replaceable>). You can also set ssh options by
       defining the <envar>NIX_SSHOPTS</envar> environment variable.
      </para>
+
+     <para>
+      Note that <command>nixos-rebuild</command> honors the
+      <literal>nixpkgs.crossSystem</literal> setting of the given configuration
+      but disregards the true architecture of the target host. Hence the
+      <literal>nixpkgs.crossSystem</literal> setting has to match the target
+      platform or else activation will fail.
+     </para>
     </listitem>
    </varlistentry>