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.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/nix/default.nix b/pkgs/stdenv/nix/default.nix
index ef088ecbf644..7ab797ce91ba 100644
--- a/pkgs/stdenv/nix/default.nix
+++ b/pkgs/stdenv/nix/default.nix
@@ -30,6 +30,8 @@ bootStages ++ [
         nativeTools = false;
         nativePrefix = stdenv.lib.optionalString hostPlatform.isSunOS "/usr";
         nativeLibc = true;
+        hostPlatform = localSystem;
+        targetPlatform = localSystem;
         inherit stdenv;
         inherit (prevStage) binutils coreutils gnugrep;
         cc = prevStage.gcc.cc;