about summary refs log tree commit diff
path: root/pkgs/stdenv/nix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stdenv/nix/default.nix')
-rw-r--r--pkgs/stdenv/nix/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/nix/default.nix b/pkgs/stdenv/nix/default.nix
index ef088ecbf6440..2363fb966e7a3 100644
--- a/pkgs/stdenv/nix/default.nix
+++ b/pkgs/stdenv/nix/default.nix
@@ -30,6 +30,7 @@ bootStages ++ [
         nativeTools = false;
         nativePrefix = stdenv.lib.optionalString hostPlatform.isSunOS "/usr";
         nativeLibc = true;
+        targetPlatform = localSystem;
         inherit stdenv;
         inherit (prevStage) binutils coreutils gnugrep;
         cc = prevStage.gcc.cc;