From 66a0358a15337d99e89e31d6c20081b7b74854de Mon Sep 17 00:00:00 2001 From: Ingo Blechschmidt Date: Tue, 5 Apr 2022 16:00:51 +0200 Subject: nixos-rebuild: document cross compilation subtlety --- nixos/doc/manual/man-nixos-rebuild.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nixos/doc') 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 @@ (user@host). You can also set ssh options by defining the NIX_SSHOPTS environment variable. + + + Note that nixos-rebuild honors the + nixpkgs.crossSystem setting of the given configuration + but disregards the true architecture of the target host. Hence the + nixpkgs.crossSystem setting has to match the target + platform or else activation will fail. + -- cgit 1.4.1