summary refs log tree commit diff
path: root/doc/old/cross.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/old/cross.txt')
-rw-r--r--doc/old/cross.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/old/cross.txt b/doc/old/cross.txt
index c0885c08176e9..ff9fefb04a860 100644
--- a/doc/old/cross.txt
+++ b/doc/old/cross.txt
@@ -78,7 +78,7 @@ Step 2: build kernel headers for the target architecture
 ---
 {stdenv, fetchurl}:
 
-assert stdenv.system == "i686-linux";
+assert stdenv.buildPlatform.system == "i686-linux";
 
 stdenv.mkDerivation {
   name = "linux-headers-2.6.13.1-arm";